Five Things That Can Significantly Boost Your CSS Skill In 24 Hours

Posted on October 10, 2012 by

If you’ve been in the web design industry for more than a few years, then you should know your way around CSS implementations. Although you’re no master, you may know how to achieve something with CSS. But, you may continuously find that CSS is such a struggle that you are wondering whether you will ever get past the situation. For example, you may find it hard to bust out complex layouts without resorting to trial and error.

Fortunately, it is indeed possible to get past this frustrating situation. These are five tips to boost your CSS skills, which you can learn in just 24 hours.

1. Positioning contexts
Many web developers seek solid understanding on how to move HTML elements using CSS. This could only be achieved through understanding positioning contexts. This isn’t just casual understanding; you should have an in-depth knowledge of their quirks, behaviors, differences and others. There are five important values that you should really understand. For starters, you may call yourself prime candidate for this bit of learning process if you can name all of them without looking up, which are fixed, static, absolute, inherit and relative. They are all important, but “absolute” and “relative” can really change the way you handle CSS. You should learn how to separately wield these positioning contexts and then jump immediately into they work together. This is a revelation that will make your tasks infinitely easier and fundamentally alter the way you handle CSS layout.

2. Floats
For CSS beginners, floats look like the most screwed up thing imaginable. When you first learn to use them, you’ll find out that parents contained only floated children with collapsed height. This will ultimately lead to 48 different ways to solve problems through overflow manipulations and clear-fixes. In the long run, floats become so easy to use that you won’t give them much thought at all. One thing that stands between you and skillful uses of floats is a solid tutorial that thoroughly explains and really digs in float techniques and behaviors from the ground up.

3. Selectors
Selectors available to you are keys to writing clean CSS code. You should have a strong grasp on how they are supported by browsers and how they work. CSS selectors seem like a really simple topic, yet they are quite complex. There are many different interesting things to learn from targeting keywords in class names to using attribute value selectors to using universal selectors for debugging your CSS code. Many web developers are convinced that they can get by without skillfully using a bunch of fancy selectors, but the truth is that only successful coders use this stuff regularly.

4. Non-repetitive coding
When it comes to CSS coding; “don’t repeat yourself” is a simple phrase with immense implications. When you finally dive into non-repetitive coding practices, you will have more beautiful new workflow and cleaner code that are both flat out awesome and empowering. Unlike other topics mentioned in this article, non-repetitive coding is a vast subject, which covers all manners of different ideas, techniques and practices. One thing that may be implemented in non-repetitive coding is CSS preprocessors. Many web developers argue that preprocessors cause poor coding practices. Used properly, preprocessors can avoid manual repetitions and offers more benefits. By examining language goals and outputs like SASS and LESS, you can write better pure CSS.

5. Browser support
The final factor in improving CSS skill is find out what works where. For many web developers, CSS3 is far too enticing to ignore, yet you should be aware of the hard truth that it may not work properly in certain browsers. One big secret new web developers need to understand is that they don’t need to memorize all CSS features and understand how all browsers handle them. Instead they can use free information available to tackle this issue in manageable chunks.

Author :

  • Adam Scott