Skip to content

Tag Archives: CSS-Misc

The :before and :after selectors in CSS is used to add content before and after an element. The :hover is pseudo-class and :before & :after… Read More
The font-family property is used to set the font of text in HTML document. The different font-family is used to create attractive web pages. There… Read More
It is very easy to choose a valid class name or selectors in CSS just follow the rule. A valid name should start with an… Read More
Child Selector: Child Selector is used to match all the elements which are child of a specified element. It gives the relation between two elements.… 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… Read More
The box-shadow property is used to set the box shadow on one side of element. Syntax: box-shadow: h-offset v-offset blur spread color; box-shadows values: h-offset:… Read More
To make a vertical line, use border-left or border-right property. The height property is used to set the height of border (vertical line) element. Position… Read More
Given an image and the task is to convert the image into blur image using CSS property. In CSS, filter property is used to convert… Read More
Given an image and the task is to set the image to align to center (vertically and horizontally) inside a bigger div. It can be… Read More
The clear property is used to specify that which side of floating elements are not allowed to float. It sets or returns the position of… Read More
Use block-level elements to break the line without using <br> tag. There are many ways to break the line without using <br> tag. The used… Read More
The background-size property is used to set the background image size using CSS. Use height and width property to set the size of the background… Read More
The greater than sign (>) selector in CSS is used to select the element with a specific parent. It is called as element > element… Read More
A child selector matches when an element is the child of some element. A child selector is made up of two or more selectors separated… Read More
Checkbox is an HTML element which is used to take input from the user. Although it is bit complicated to style it but using Pseudo… Read More