One of the most fundamentals things in CSS that is often overlooked but every web designer should know about, is when to use each CSS Measurement. The most popular CSS Measurement Units are px (pixels), % (percentages), em (relative to document font size) and pt (points). In this article we are going to review each unit and determine when they should be used
Let’s assume that we design a website and we want to set the background to be similar to the image on the left. This can be achieved with a couple of ways: We can either use a pure CSS radial gradient or we can use an image. The CSS method is in my opinion superior but in some case using an image is prefferable
LESS takes code written in its language and then outputs plain CSS. It’s very similar to how PHP or ASP or any other server side programming language works. Server side languages are able to do complex things like query a database but in the end, they output plain HTML. LESS works much in the same way, but outputs CSS instead..