Hi, I'm Timonwa! I write articles on web development that help other developers learn more easily. These articles include beginner-friendly tutorials, open source, technical writing, and more.
all kinds of collaboration!
This was great, I always make it a habit of writing the long form of a CSS property instead of the shorthand. And I started doing this because of the transition property. Some people tend to set the transition property to "all" which whichs transitions all the properties of an element even when it is only one of the property they want to transition. That makes waste of the browsers resources especially when they use transition:all; on a lot of elements. So I figured that using background : red; for example, could do the same to the browser resources also. If I am only going to use a shorthand to define just one property, then I should use the long form instead. It's good to know that shorthand does actually cause compatibility issues.