1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<html> <head> <style> .test { background-color: #fec; display: inline-block; width: 5em; height: 5em; } .first { box-shadow: inset 0 0 1px -3px rgba(0,0,10,0.25); } </style> </head> <body> <div class="first test"></div> </body> </html>