vh in css
/*
vh Relative to 1% of the height of the viewport*
*/
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
font-size: 20vh;
}
</style>
</head>
<body>
<h1>Hello</h1>
<p>Resize the height of the browser window to see how the font-size of h1 changes.</p>
<p>1vh = 1% of viewport height.</p>
<p>The vh unit is not supported in IE8 and earlier.</p>
</body>
</html>
/*
I hope it will help you.
Namaste
Stay Home Stay Safe
*/
Also in CSS:
- aliceblue hex
- css font-size
- bootstrap 4 scss angular 8
- css smooth text shadow
- not last child css
- touch scroll css gallery
- css on hover parent change child
- learn css animation
- css class selector
- angular headers for enc type
- stop padding from changing div size
- how to get element details using cssselector using beautifulsoup
- simple font-face mixin scss
- removing space between words css
- skeleton loader css
- jquery element css
- selecting last child css
- acf true false field default value
- link to css
- round button css
- margin in css
- css transition on hover
- postcss TypeError: require is not a function
- how do i move the numbers of an ordered list centered with css