CSS Inheritance in Practice

Inheritance simply means that in certain cases a child element can inherit properties from the parent element. You can think of it like a default value for certain types of elements and its properties. It is a common practice to set general text formatting on the body. Paragraphs will inherit those properties even several levels […]

CSS Specificity Explained in Simple Terms

To make our life easier, the designers of CSS created multiple levels of specificity depending on the selector. The three main kinds of selectors are: element class id There are also combinations of the above and pseudo elements and classes. The traditional way of measuring specificity is to assign number values. Element selectors have a […]

Creating Links that Look like Buttons in CSS

I have written about styling links in CSS in another post. Creating the kind of buttons you see in website navigations is also done with simple links. The most widely used method to do it is to add display: inline-block; to the link and then apply padding. By default, links are inline elements, you applying […]

Your ad here?

Contact us for a quote to place your ad here.

Themeforest

Bluehost