- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Setting the Classes</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Why choose me?</h1>
<p class="">I myself was once a kitten. But look at me now.</p>
<p class="">I have got the master fully trained.</p>
<p class="">I have been a full-time professional cat for more than 5 years now.</p>
</body>
</html>
CSS
body {
width: 250px;
padding: 0;
font-family: "Arial", sans-serif;
font-size: 16px;
line-height: 26px;
color: #000000;
}
.large {
font-size: 20px;
}
.red {
color: red;
}
.uppercase {
text-transform: uppercase;
}
.bordered {
padding: 5px;
border: 1px solid #000000;
}
- Goal
- Result
- Overlay
- Differences
- ?
Press Compare to send your code for review.