執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #example1 { border: 1px solid; padding: 10px; box-shadow: 5px 10px inset; } #example2 { border: 1px solid; padding: 10px; box-shadow: 5px 10px 20px red inset; } </style> </head> <body> <h2>box-shadow: 5px 10px inset:</h2> <div id="example1"> <p>The inset keyword changes the shadow to one inside the frame.</p> </div> <h2>box-shadow: 5px 10px 20px red inset:</h2> <div id="example2"> <p>Inset, red and blur.</p> </div> </body> </html>