What is flexbox in CSS and what are its properties?

Flexbox stands for flexible box and it was introduced around 2017 in CSS with the purpose of providing an efficient way to handle layouts, align elements within them and distribute spaces amongst the items in dynamic/responsive conditions. It... Read More

Top 30 CSS Interview Questions (2022)

This article covers the most frequently asked CSS interview questions in 2022 for freshers and experienced candidates. What is CSS? CSS stands for Cascading Style Sheet. It is a stylesheet language that defines how the elements (or contents) in a... Read More

How do you specify units in the CSS?

There are different ways to specify units in CSS like px, em, pt, and percentage (%). px(Pixel) gives fine-grained control and maintains alignment because 1 px or multiple of 1 px is guaranteed to look sharp. px is not cascade. em maintains relative... Read More

How to include CSS in the webpage?

There are different ways to include a CSS in a webpage,  1. External Style Sheet: An external file linked to your HTML document: Using a link tag, we can link the style sheet to the HTML page. <link rel="stylesheet" type="text/css" href=... Read More

What is VH/VW (viewport height/ viewport width) in CSS?

It is a CSS unit used to measure the height and width in percentage with respect to the viewport. It is used mainly in responsive design techniques. The measure VH is equal to 1/100 of the height of the viewport. If the height of the browser is... Read More

Results 11 - 20 of 22