CSS initial doesn’t do what you think it does

Another great video by Kevin Powell on one of those things in CSS that many may have heard of, but most likely don’t understand entirely (I know I didn’t for a very long time ?). We often think initial sets something back to how it started, but it actually does a lot more than that. …


This content originally appeared on Bram.us and was authored by Bramus!

Another great video by Kevin Powell on one of those things in CSS that many may have heard of, but most likely don’t understand entirely (I know I didn’t for a very long time ?).

We often think initial sets something back to how it started, but it actually does a lot more than that. Often, we’re looking for unset or revert instead.

The gist of the video is written down in this Twitter thread:


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-09-27T21:54:49+00:00) CSS initial doesn’t do what you think it does. Retrieved from https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/

MLA
" » CSS initial doesn’t do what you think it does." Bramus! | Sciencx - Monday September 27, 2021, https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/
HARVARD
Bramus! | Sciencx Monday September 27, 2021 » CSS initial doesn’t do what you think it does., viewed ,<https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/>
VANCOUVER
Bramus! | Sciencx - » CSS initial doesn’t do what you think it does. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/
CHICAGO
" » CSS initial doesn’t do what you think it does." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/
IEEE
" » CSS initial doesn’t do what you think it does." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/. [Accessed: ]
rf:citation
» CSS initial doesn’t do what you think it does | Bramus! | Sciencx | https://www.scien.cx/2021/09/27/css-initial-doesnt-do-what-you-think-it-does/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.