Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Illustrating correct & wrong inner border-radius
- */
- .outer {
- padding: 10px;
- margin: 50px;
- border: 1px solid silver;
- box-shadow: 0 0 10px gray;
- border-radius: 20px;
- }
- div div {
- padding: 30px;
- background: slategray;
- font-size: 200%;
- font-weight: bold;
- color: white;
- border-radius:10px;
- }
- .outer.wrong div {
- border-radius: inherit;
- }
Add Comment
Please, Sign In to add comment