class-specificity-ref.html (366B)
1 <!DOCTYPE html> 2 <title>View transitions: class specificity (ref)</title> 3 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> 4 <link rel="author" href="mailto:vmpstr@chromium.org"> 5 <style> 6 body { 7 background: pink; 8 } 9 div { 10 contain: paint; 11 width: 100px; 12 height: 100px; 13 background: blue; 14 border: 10px solid green; 15 } 16 </style> 17 <div></div>