Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize double CSS frame with Shadow

Shulou Source: shulou.com Published: 2022-06-01 05:28:38 11月16日 Update

Editor to share with you how to achieve the shadow of the double CSS frame, I believe that most people do not understand, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Double CSS border with shadow

We can also mix some box-shadow and outline borders.

This creates a beautiful line effect with spikes, as shown in the following example.

Let's check the code!

# box {font-family: Arial; font-size: 18px; line-height: 30px; font-weight: bold; color: white; padding: 40px; box-shadow: 00 10px # 00988; border: 10px solid # 00988; outline: dashed 10px white;}

Effect:

The above is all the content of the article "how to achieve a double CSS frame with Shadow". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Borders shadows articles content effects beautiful not so much code most more knowledge lines industry information information channels channels references learning help check Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Redmi Apple Linux Huawei