Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 .outer { | |
| 6 overflow:hidden; | |
| 7 border-radius: 10px; | |
| 8 line-height: 40px; | |
| 9 display:flex; | |
| 10 } | |
| 11 button { | |
| 12 border-radius: 5px; | |
| 13 overflow:hidden; | |
| 14 will-change: transform; | |
| 15 background-color: lightblue; | |
| 16 width: 100px; | |
| 17 height: 40px; | |
| 18 border: 0; | |
| 19 } | |
| 20 .seperator { | |
| 21 background-color: green; | |
| 22 width: 100px; | |
| 23 height: 40px; | |
| 24 border: 0; | |
| 25 z-index: 1; | |
| 26 } | |
| 27 | |
| 28 </style> | |
| 29 </head> | |
| 30 <body> | |
| 31 <div class="outer"> | |
| 32 <div class="seperator">A</div> | |
|
chrishtr
2017/04/14 21:43:40
nit: separator
| |
| 33 <button type="button"></button> | |
| 34 <div class="seperator">B</div> | |
| 35 <button type="button"></button> | |
| 36 <div class="seperator">C</div> | |
| 37 </div> | |
| 38 </body> | |
| 39 </html> | |
| OLD | NEW |