#csswitheio search results
CSS ONLY: Scroll Direction & Velocity. I used @jh3yy's concept of capturing the scroll velocity to achieve this. It also helped me capture the scroll direction. 100+ changes.. To save the pen or not... 🤔 #CssOnly #CSS #CSSwithEIO #Frontend #Webdev
the trick to that is to animate two custom properties on scroll but set use one as a transition-property if the scroll stops, there will be no transition so the values will match. when scrolling, one value would lag because of the transition 🤙
The real art of CSS specificity, like emotional intelligence, lies not in knowing how to win every conflict, but in creating systems that minimize conflicts in the first place... dev.to/eioluseyi/css-… #CSS #CSSisEmotional #CSSwithEIO #Frontend #Webdev #Emotion #DEVCommunity
CSS ONLY: Scroll Direction & Velocity. I used @jh3yy's concept of capturing the scroll velocity to achieve this. It also helped me capture the scroll direction. 100+ changes.. To save the pen or not... 🤔 #CssOnly #CSS #CSSwithEIO #Frontend #Webdev
the trick to that is to animate two custom properties on scroll but set use one as a transition-property if the scroll stops, there will be no transition so the values will match. when scrolling, one value would lag because of the transition 🤙
The real art of CSS specificity, like emotional intelligence, lies not in knowing how to win every conflict, but in creating systems that minimize conflicts in the first place... dev.to/eioluseyi/css-… #CSS #CSSisEmotional #CSSwithEIO #Frontend #Webdev #Emotion #DEVCommunity
Few months after I completed the 30 days #CssWithEIO program, @bramus published a post which debunks my takes on the css specificity concept. You can read the article with clear explanations here: bram.us/2024/05/05/mis…
#CSSwithEIO - Day 18/30 If you can, avoid using Javascript to set your styles, rather, use it to give a class to your elements. It is harder to override inline styles, which is what setting styles with Js does. #css #frontend #webdev
#CSSwithEIO - Day 8/30 Practice layout techniques. Rather than just knowing about CSS properties, learn how to implement them to make responsive layouts. #css #frontend #webdev
#CSSwithEIO - Day 10/30 Replicate simple design shapes using CSS, instead of using images. This could reduce resource usage and make your site lighter. #css #frontend #webdev
#CSSwithEIO - Day 9/30 It's easier to add an anchoring display using pseudo elements. The position of pseudo elements is naturally based on the position of the main element. #css #frontend #webdev
#CSSwithEIO - Day 18/30 If you can, avoid using Javascript to set your styles, rather, use it to give a class to your elements. It is harder to override inline styles, which is what setting styles with Js does. #css #frontend #webdev
#CSSwithEIO - Day 26/30 Helping others with their CSS issues can deepen your comprehension of concepts as you try to explain. Teaching css reinforces your understanding and mastery of css principles. #css #frontend #webdev
#CSSwithEIO - Day 28/30 Don't overwrite accessibility properties without giving a suitable alternative. Eg. Focus states. This helps with inclusivity, promoting accessibility and usability for a diverse range of users. #css #frontend #webdev
#CSSwithEIO - Day 27/30 Test your code across various web browsers to guarantee consistent rendering of styles across different platforms. Conduct thorough testing to identify and address any compatibility issues. #css #frontend #webdev
#CSSwithEIO - Day 13/30 Clarity is the path to elegance. When you want to update/understand a piece of code, format the code properly to improve readability. If you cannot implement prettier, indent the code yourself. You would spot bugs more easily. #css #frontend #webdev
#CSSwithEIO - Day 29/30 Although the border property visually adds a line around an element's content area, it actually extends the background of the element. So a transparent border will always seem like the background of the element. #css #frontend #webdev
#CSSwithEIO - Day 12/30 Less is more. Avoid style cocktails. Write only necessary styles. Every unnecessary rule raises the chances of bugs and adds extra complexity, which would also make your code harder to maintain. #css #frontend #webdev
#CSSwithEIO - Day 19/30 When converting UI designs, at first, stick to the sizes specified in Figma, XD, or whatever design document you have. This will help with creating pixel-perfect UI. Seems logical, but you'd be surprised how many people miss it. #css #frontend #webdev
#CSSwithEIO - Day 15/30 For smoother and more performant animations in CSS, modify transform properties instead of modifying other properties like inset, width and height. #css #frontend #webdev
#CSSwithEIO - Day 14/30 Register your custom properties using the @property. This will allow them to get "super powers" like transition. Check out this @CodePen by @KevinJPowell to see it in action codepen.io/kevinpowell/pe… #css #frontend #webdev
#CSSwithEIO - Day 20/30 If you want to manipulate SVGs, use <svg> tags directly in your html instead of using <img> to reference SVG files. SVGs loaded with <img> tags lose styling options you'd have with the direct <svg> element. codepen.io/eioluseyi/pen/… #css #frontend #webdev
#CSSwithEIO - Day 17/30 Adding and removing an element from the DOM will cause transition issues. But you can use other non-discrete properties like opacity to hide and show elements on the UI. Check out @starting-style developer.mozilla.org/en-US/docs/Web… #css #frontend #webdev
#CSSwithEIO - Day 21/30 Use cascading fallbacks or the @supports feature query when using new CSS features. This promotes progressive enhancement in browsers that lack support for the latest CSS features. For @supports syntax, see developer.mozilla.org/en-US/docs/Web… #css #frontend #webdev
Something went wrong.
Something went wrong.
United States Trends
- 1. $PUFF N/A
- 2. #FanCashDropPromotion N/A
- 3. Good Friday 48.3K posts
- 4. #FridayVibes 3,693 posts
- 5. $apdn $0.20 applied dna N/A
- 6. $SENS $0.70 Senseonics CGM N/A
- 7. $LMT $450.50 Lockheed F-35 N/A
- 8. Publix 1,411 posts
- 9. Happy Friyay 1,022 posts
- 10. #FridayFeeling 2,282 posts
- 11. #PitchYaGame 1,123 posts
- 12. RED Friday 3,108 posts
- 13. #FridayMotivation 2,164 posts
- 14. Finally Friday 3,854 posts
- 15. Elise Stefanik 3,441 posts
- 16. John Wayne 1,437 posts
- 17. yeonjun 309K posts
- 18. Sydney Sweeney 106K posts
- 19. Tammy Faye 2,569 posts
- 20. Kehlani 15K posts