Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTML
- <body>
- <div class="a">
- <div class="b">
- <div class="c">
- Content
- </div>
- </div>
- </div>
- </body>
- CSS
- body {
- background: linear-gradient(45deg, #e37682 15%, #5f4d93 85%);
- height: 1000px;
- }
- .a {
- height: 100px;
- width: 100px;
- border: 1px solid black;
- border-radius: 100%;
- padding: 0px;
- display:flex;
- }
- .b {
- height: 90px;
- width: 90px;
- border: 1px solid black;
- border-radius: 100%;
- /* padding: 5px; */
- margin: auto;
- display:flex;
- }
- .c {
- color: white;
- margin: auto;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement