In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the attributes of web front-end development css". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the attributes of web front-end development css".
Common attribut
Font-size:n px
Set font size
Font-weight:bold
Bold font (attribute value: lighter/normal/bold/bolder or 100,900)
* Note: some font styles do not use bolder, so there is no change after bold
Font-style:italic
Set italics (normal correction)
Font-family: song style
Font style
Width: n px
The width of the element
Unit is px/%
Height:n px
The height of elements
Border: 1px solid black
The border of an element, compound attribute
Split:
1.border-width:1 px
The thickness of the border is 1px
2.border-style:solid
The border is solid (other values: dotted dotted line; dashed strip dashed line)
3.border-color:black
The border color is black
4. Four edges split
Border-left/right/top/bottom: 1 px solid black
It can also be broken down into:
Border-left-color:red; et al.
Border-radius: n%/px
Fillet settin
Opacity:0.5
Transparency with a value of 0-1
* * background-color: black;**, etc.
Background color
Color
Three formats
1. Turtle style: red, green, blue (for testing, not for development)
two。 Color codes: such as # ff4400
Analysis: every two bits represent a color saturation (00-ff, hexadecimal value)
Note: it can be abbreviated when the two digits are the same, for example, # ff4400 can be abbreviated # f40positionff4432 cannot be abbreviated.
3. Color function: for example, the rgb (255255255) value is 0-25
4. Transparent color: transparent
Text attribute
Text-align:left
Text alignment (right right alignment; center center alignment)
Line-height: n px
The height of a single line of text
Text-indent: 2 em
Indent 2 spaces in the first line
Text-decoration:line-through
Text style: underlined (value: none;underline (underlined); overline (overlined))
Cursor:pointer
When the mouse moves up, it becomes a small hand (value: help question mark e-resize/w-resize drag character copy move, etc.)
Thank you for your reading, the above is the content of "what are the attributes of web front-end development css". After the study of this article, I believe you have a deeper understanding of what the properties of web front-end development css have, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.