all AI news
Difference b/w height 100% and 100vh
March 6, 2024, 7:10 a.m. | Sh Raj
DEV Community dev.to
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
background: red;
height: 5000px;
}
.container {
background: rgba(0, 0, 0, 0.534);
width: 100%;
/* height: 100vh; */
height: 100%;
}
</style>
</head>
<body>
<div class="container">
</div>
</body>
</html>
vh means the viewport height, and 100% means 100%.
Learn about lvh, svh , dvh
class difference document head html learn meta scale style utf-8
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Senior Machine Learning Engineer
@ GPTZero | Toronto, Canada
ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)
@ HelloBetter | Remote
Doctoral Researcher (m/f/div) in Automated Processing of Bioimages
@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena
Seeking Developers and Engineers for AI T-Shirt Generator Project
@ Chevon Hicks | Remote
Stage-Automne – Intelligence d’affaires pour l’après-marché connecté /Internship-Fall-Connected Aftermarket Business Intelligence
@ RTX | LOC13052 1000 Boul Marie Victorin,Longueuil,Quebec,J4G 1A1,Canada
Business Intelligence Analyst Health Plan Operations
@ Corewell Health | SITE - Priority Health - 1239 E Beltline - Grand Rapids