Skip to content

Tag Archives: CSS-Selectors

The Navbar is the main component of any website through which the user can navigate through all the components and sections of a site. That’s… Read More
The shock wave effect is also known as the explosion effect. It is one of the simple CSS effects. For a beginner, it is one… Read More
The CSS border animation using hover is used to create border animation when we hover over a text. The concepts that we are going to… Read More
The liquid fill text animation can be done using CSS | ::before selector. We will use key frames to set height for each frame of… Read More
The colour of selected text can be easily changed by using the CSS | ::selection Selector. In the below code, we have used CSS ::selection… Read More
The asterisk (*) is known as the CSS universal selectors. It can be used to select any and all types of elements in an HTML… Read More
In CSS, the symbol tilde(~) is known as Subsequent-sibling Combinator (also known as tilde or squiggle or twiddle or general-sibling selector). As the name suggests… Read More
CSS selectors are used to select HTML elements based on their element name, id, class, attribute, and many more.    Example: Below the HTML/CSS code… Read More
CSS provides the feature of making a horizontal line including words or image in the middle of the webpage to make it attractive. This can… Read More
:focus Selector: It generally applies on form elements or elements that can be focused using keyboard or mouse like input box, textarea. An element is… Read More
The:nth-child() selector in CSS is used to match the elements based on their position in a group of siblings. It matches every element that is… Read More
When designing and developing web applications, sometimes we need to select all the child elements of an element except the last element. To select all… Read More
CSS attribute selector is used to targeting an input text fields. The input text fields of type ‘text’ can be targeting by using input[type=text]. Note:… Read More
CSS allows to select HTML elements that have specific attributes or attribute values. Element can be selected in number of ways. Some examples are given… Read More
A CSS Syntax rule consists of a selector, property, and its value. The selector points to the HTML element where the CSS style is to… Read More