A Pen by stekovinbranturry on CodePen.
Created
May 26, 2019 05:37
-
-
Save stekovinbranturry/057c3eeb55a49c14d98167f6eb7642ea to your computer and use it in GitHub Desktop.
NVMYXG
This file contains 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"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<div class="dad"> | |
<div class="son"></div> | |
</div> | |
</body> | |
</html> |
This file contains 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
.dad{ | |
width: 200px; | |
height: 200px; | |
background-color: pink; | |
} | |
.son{ | |
width: 50%; | |
height: 50%; | |
background-color: #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment