Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .outer {
- position: relative;
- width: 500px;
- height: 500px;
- background: red;
- }
- .inner {
- position: absolute;
- background: yellow;
- margin: auto;
- width: 200px;
- left: 0;
- right: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement