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 introduces the common CSS attribute words, the text is very detailed, has a certain reference value, interested friends must read!
Common CSS attribute words and explanations
1. What are the common CSS words
2. Common CSS words correspond to functions and explanations
3. CSS word corresponding example
4. Do you need to remember these words
Common CSS English words, corresponding functions, corresponding explanations, corresponding simple examples
1, float float
Float: left
Float:right: Float right
2, width width
Width:20px; Object Width 20px
3, height height
Height:20px; Object Height 20px
4, margin outside the distance
Margin:1px 2px 3px 4px Distance 1px above object; 2px right; 3px bottom; 4px left
5. Padding inner compensation distance
Padding:1px 2px 3px 4px Distance inside object 1px on edge; 2px on right; 3px on bottom; 4px on left
6, border frame
Border:1px solid #111; Object border is 1px wide solid black line
7. font-family font
font-family:"bold"; object text font is bold
8, font-size Text size
font-size:12px Object text size is 12px
9. font-weight text bold
font-weight:bold Object text is bolded
10, line-height line height
line-height:20px The height of the upper and lower 2 rows of text in the object is 20px (including the height occupied by the text itself)
11. text-decoration text decoration (underline, strikeout)
text-decoration:underline object text
12. Background Properties
background:#FFF url(bg.png) repeat-x 0 0 Object background color is white, background image is bg.png Repeatedly displayed by X axis analysis and 0 pixels from top and left
13, text-align content left center right alignment attribute
text-align:center Display content centered left and right within an object
14. Position attribute
15, overflow overflow treatment
Overflow:hidden Object content is hidden and does not occupy virtual positions
The above is "What are the common CSS attribute words?" All the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to 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.