Is box-shadow a new attribute in CSS3?

WBOY
Release: 2021-12-15 12:01:28
Original
2597 people have browsed it

"box-shadow" is a new attribute of CSS3. The function of the "box-shadow" attribute is to add one or more shadows to the element box. The syntax is "element {box-shadow: horizontal shadow position vertical shadow position blur spread color inset;}".

Is box-shadow a new attribute in CSS3?

The operating environment of this tutorial: Windows 10 system, CSS3&&HTML5 version, Dell G3 computer.

Is box-shadow a new attribute of css3?

box-shadow is a new attribute of css3.

The box-shadow property is used to add one or more shadows to a box. The syntax of this attribute is as follows:

box-shadow: h-shadow v-shadow blur spread color inset;
Copy after login

The attribute value is expressed as follows:

Is box-shadow a new attribute in CSS3?

The example is as follows:

    
Copy after login

Output result:

Is box-shadow a new attribute in CSS3?

(Learning video sharing:css video tutorial)

The above is the detailed content of Is box-shadow a new attribute in CSS3?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!