![]() If something I want to do with JavaScript can be done with CSS instead, use CSS.įor things like animations, it more easily hooks into the browser’s refresh rate cycle to provide silky smooth animations (this can be done in JS, too, but CSS just makes it so damn easy).Ī JavaScript error can bring all of the JS on a page to screeching halt. The responses I got were a mix of “hell yes!” and “how do you approach CSS in your projects?” Today, I wanted to talk more about when I use CSS vs. My article on Friday about overengineering CSS apparently hit a chord with a lot of readers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |