Files
Gustavo "Guz" L. de Mello 27a0e75158 hover support
2024-06-21 23:10:14 -03:00

46 lines
818 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link href="style.css" rel="stylesheet">
<link href="uno.css" rel="stylesheet">
<style>
body {
background-color: black;
color: white;
}
h1 {
background-color: gray;
}
h2 {
background-color: lightgray;
}
</style>
</head>
<body>
<section style="--p:var(--2);">
<h1 style="--p:var(--5);--hover-p:var(--2);--px:var(--1);">
Hello, world
</h1>
<h2 style="--text:var(--red);--md-p:var(--5);--sm-hover-p:var(--5)">
This is a test
</h2>
</section>
<section class="p-2">
<h1 class="p-5 hover:p-2 px-1">
Hello, world
</h1>
<h2 class="text-red md:p-5 sm:hover:p-5">
This is a test
</h2>
</section>
</body>
</html>