In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what text attributes are in css", the content is simple and clear, and I hope it can help you solve your doubts. Let me lead you to study and learn this article "what text attributes are there in css".
1. Conversion of uppercase and lowercase letters in css text attributes-text-transform
Attribute value:
Uppercase; (all uppercase)
Lowercase; (all lowercase)
Capitalize; (in all lowercase words, uppercase)
P {text-transform:uppercase;}
2. The text of css text attribute is centered-- text-align
Attribute value:
Center; (centered)
Left; (left alignment)
Right (right alignment)
P {text-align:center;}
3. Paragraph indentation of css text attributes-text-indent
Em (in words), both are fine.
P {text-indent:3em;}
Setting text Decoration effect of 4.css text attribute-- text-decoration
Attribute value:
None (remove underline)
Underline (underlined)
Overline (underlined)
Line-through (plus delete line)
A {text-decoration:none;}
Setting paragraph line height for 5.css text attributes-- line-height
Attribute values: percentage, px, number
A {line-height:13px;}
Setting word spacing for 6.css text attributes
Word-spacing (useful in English only)
Letter-spacing (both Chinese characters and English are OK)
P {letter-spacing:16px;}
Paragraph spacing for 7.css text attributes-margin
P {margin:66px;}
The Border of 8.css text attribute-- border
There are three property values: size, color, and style
Border styles are: solid (solid line), dashed (dashed line), dotted (dotted line)
P {border:3pxlightgreensolid;}
The space of 9.css text attribute-- white-space
Attribute value:
Pre; (same as preset)
Nowrap; (text does not wrap automatically)
Inherit; (inheriting the father)
Normal; (show one)
P {white-space:pre;}
Input method status for setting 10.css text properties-ime-mode
Attribute value:
Auto; default
Active; activates local language input method
Inactive: activating non-native language input method
Disabled; forbids input method, cannot input Chinese characters
The above is all the content of this article "what are the text attributes in css?" 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!
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.