daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Illustrating correct & wrong inner border-radius
  3.  */
  4.  
  5. .outer {
  6.     padding: 10px;
  7.     margin: 50px;
  8.     border: 1px solid silver;
  9.     box-shadow: 0 0 10px gray;
  10.     border-radius: 20px;
  11. }
  12.  
  13. div div {
  14.     padding: 30px;
  15.     background: slategray;
  16.     font-size: 200%;
  17.     font-weight: bold;
  18.     color: white;
  19.     border-radius:10px;
  20. }
  21.  
  22. .outer.wrong div {
  23.     border-radius: inherit;
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top