odin-css-exercises/foundations/06-cascade-fix/index.html
2022-01-16 15:07:45 -05:00

22 lines
No EOL
773 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fix the Cascade</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p class="para">I'm just a paragraph with red text!</p>
<p class="para small-para">I'm a smaller paragraph, also with red text!</p>
<button id="confirm-button" class="button confirm">Confirm</button>
<button id="cancel-button" class="button cancel">Cancel</button>
<div class="text">I'm a div with green text!</div>
<div class="text">I'm a div with green text and a child div!
<div class="text child">I'm a smaller child div with red text.</div>
</div>
</body>
</html>