CSS isn't magic
Subscribe
Sign in
Home
Archive
About
The hidden attribute removes the need to define display: none
We don't need to define display: none by hand when creating the elements that can be shown or hidden.
Jun 11
•
Stas Melnikov
Share this post
CSS isn't magic
The hidden attribute removes the need to define display: none
Copy link
Facebook
Email
Notes
More
Latest
Top
scroll-behavior: scroll can lead to dizziness or headache
Please, wrap it in the prefers-reduced-motion media feature.
Jun 4
•
Stas Melnikov
Share this post
CSS isn't magic
scroll-behavior: scroll can lead to dizziness or headache
Copy link
Facebook
Email
Notes
More
We don't need to use 0 anymore to define margins and paddings
I had to make a not logical thing, i.e.
May 28
•
Stas Melnikov
Share this post
CSS isn't magic
We don't need to use 0 anymore to define margins and paddings
Copy link
Facebook
Email
Notes
More
Please, support CSS isn't magic. Get a paid subscription for $6
Hey!
May 24
•
Stas Melnikov
Share this post
CSS isn't magic
Please, support CSS isn't magic. Get a paid subscription for $6
Copy link
Facebook
Email
Notes
More
position: absolute frees us from using display: block
Are you used to defining display: block for ::before or ::after?
May 21
•
Stas Melnikov
Share this post
CSS isn't magic
position: absolute frees us from using display: block
Copy link
Facebook
Email
Notes
More
justify-content: center and align-items: center leads to loss of elements
Warning!
May 14
•
Stas Melnikov
Share this post
CSS isn't magic
justify-content: center and align-items: center leads to loss of elements
Copy link
Facebook
Email
Notes
More
Please, support CSS isn't magic. Get a paid subscription for $6
Hey!
May 10
•
Stas Melnikov
Share this post
CSS isn't magic
Please, support CSS isn't magic. Get a paid subscription for $6
Copy link
Facebook
Email
Notes
More
The gap property smashes margins!
Stop, stop, stop defining margins to set the gap between a few elements.
May 7
•
Stas Melnikov
Share this post
CSS isn't magic
The gap property smashes margins!
Copy link
Facebook
Email
Notes
More
See all
CSS isn't magic
the tips that help to break the stereotype CSS is magic
Subscribe
Recommendations
All Things Typescript
Maina Wycliffe
DevA11y
Stas Melnikov
The UX&a11y tips
Stas Melnikov
Angular Addicts
Gergely Szerovay
CSS isn't magic
Subscribe
About
Archive
Recommendations
Share this publication
cssisntmagic
CSS isn't magic
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts