Skip to content

Instantly share code, notes, and snippets.

@kianurivzzz
Created February 25, 2024 08:45
Show Gist options
  • Save kianurivzzz/d752b1b76a2f41f82b6bad73e2a2a689 to your computer and use it in GitHub Desktop.
Save kianurivzzz/d752b1b76a2f41f82b6bad73e2a2a689 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Rectangles</title>
</head>
<body>
<div class="rect" id='one'></div>
<div class="rect" id='two'></div>
<div class="rect" id='three'></div>
<div class="rect" id='four'></div>
<div class="rect" id='five'></div>
<div class="rect" id='six'></div>
</body>
</html>
.rect {
width: 50px;
height: 40px;
margin: 10px;
background-color: rgb(148, 71, 220);
border: 1px solid blueviolet;
border-radius: 15px;
}
#one {
padding: 5px;
}
#two {
padding: 12px;
}
#three {
padding: 2px;
}
#four {
padding: 18px;
}
#five {
padding: 4px;
}
#six {
padding: 14px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment