CSS Selector 5: X Y

It can occur that you did not give an element an ID or CLASS, but you still want to be a bit more specific. If that’s the case, the descendant selector will help you ou ... readmore

CSS Selector 4: X

Sometimes you want to give all elements on a page the same style by using CSS. You could use ‘*’, as we mentioned, but that way you will literally style all eleme ... readmore

Css Selector 3: Dot

In our previous post about the 30 most important CSS selectors, we talked about the selector ‘#’. We also mentioned that an ID which is called by ‘#’ ... readmore

CSS Selector 2: Hash

With the ‘#’ selector, all elements placed in the HTML and with an ID will be called. For example: Inside your HTML you can have an element like id=”exampl ... readmore

CSS Selector 1: Star

Whenever ‘*’ is used within a CSS document, the style will be applied to all elements of the document. This selector is mostly used for setting the margin and pad ... readmore

CSS Selectors

CSS is difficult to master for many people. Therefore, it is important that you know all about the different selectors within CSS, because it might happen that one specific CS ... readmore

1 2 3 4 5 6 7 8 9
Back to Top