Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div{
- position:absolute;
- border:5px solid black;
- width:400px;
- height:400px;
- }
- div > div{
- position:absolute;
- width:150px;
- height:150px;
- }
- div:nth-child(1){
- border:3px solid blue;
- top:10%;
- }
- div:nth-child(2){
- border:3px solid magenta;
- top:15%;
- }
- div:nth-child(3){
- border:3px solid green;
- top:5%;
- left:15%;
- }
- div:nth-child(4){
- border:3px solid #afdfdf;
- top:10%;
- right:10%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement