In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about what the text-shadow attribute of css literal shadow is. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Text-shadow attribute syntax
Text-shadow:x-offsety-offsetblurcolor
The above code is explained in detail:
X-offset means horizontal shadow and horizontal offset position. The unit of x-offset is px, which can also be expressed as a percentage. When the value of x-offset is positive, it means that the shadow moves to the right. If the value of x-offset is negative, it means moving to the left.
Y-offset represents vertical shadow, and the unit of y-offset is the same as x-offset. If y-offset has a negative value, it means upward offset, and if it is positive, it means upward offset.
Blur indicates the blur of shadows, but the most important point is that there can be no negative values, only positive values. The higher the value of blur, the more blurred it is, and the smaller it is, the clearer it is. If we don't want to set the blur, we'll set blur to 0
Color represents the color in which shadows occur.
Specific examples:
CSS3text-shadow attribute
# lvye
{
Font-size:40px
Text-shadow:4px4px2pxgray
-webkit-text-shadow:4px4px2pxgray
-moz-text-shadow:4px4px2pxgray
}
Thank you for reading! This is the end of this article on "what is the text-shadow attribute of css text shadow". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.