Created
February 25, 2024 08:45
-
-
Save kianurivzzz/d752b1b76a2f41f82b6bad73e2a2a689 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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