box-shadow-calc.html (499B)
1 <!DOCTYPE html> 2 <link rel="author" title="Antoine Quint" href="mailto:graouts@apple.com" /> 3 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-box-shadow" /> 4 <link rel="match" href="box-shadow-calc-ref.html" /> 5 <meta name="assert" content="Test checks whether box-shadow supports calc() values."> 6 <style type="text/css"> 7 div { 8 width: 100px; 9 height: 100px; 10 background-color: blue; 11 box-shadow: calc(1em + 10px) calc(2em + 11px) calc(3em + 12px) black; 12 } 13 </style> 14 <div> 15 </div>