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 commonly used information in CSS". The content in 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 is the commonly used information in CSS".
Text attribute identifier action attribute value
Font-family: define the text type, look for it sequentially, first find the selected value, and if you can't find it, use the default value of font- style: define font style, such as bold and bold. Normal (standard) italic (italic) oblique (tilt) font-variant: change the display of English letters normal,small-caps (small uppercase letters) font-weight: bold font normal (equivalent to 400), bold,lighter,bolder or nine digits of 100mm 900 font-size: define the font size of any number In pt (dot matrix), px (screen pixel) as the unit text attribute text-decoration: embellished text underline (underlined) overline (underlined) line-thought (plus delete line) text-align: where and how the text is displayed left,right,center,justify (align from left to right) Color attribute color: define font color 1. Use English words as keywords in hexadecimal 3. Use the RGB value, usage: RGB (255, 010, 0) 0255.
Background attribute
Background-color: define the usage that the background color is the same as the "color attribute" background-image: define the background image usage: body {background-image:url (bg.gif)} where "bg.jif" is any picture background-repeat: copy the background in different ways repeat-x: copy horizontally repeat-y: copy vertically Fixed scroll of background-attachment background: background content scrolls with foreground fixed: background does not move background- position: defines background position top: background and foreground content top alignment bottom Left,right mode: xxpt xxpt or x% x% or left top (a combination of two English words, note: there is a space in the middle!) Boundary attribute margin- top: the default value on the upper boundary of the object is: 0 keyword: auto value: pt,px,in (inch), cm (centimeter) as the unit margin-right: the right boundary of the object is the same as above. Margin- bottom: the lower boundary of the object is the same as above. Margin-left: the left boundary of the object is the same as above. Concise form of boundary setting Note DIV {margin:10cm} all boundaries are 10cm DIV {margin:10cm 3cm} above and below 10cm, left and right 3cm DIV {margin:1cm 3cm 5cm 7cm} top is 1cm, right is 3cm, bottom is 5cm, and left is 7cm. Thank you for your reading, the above is the content of "what is the information commonly used in CSS?" after the study of this article, I believe you have a deeper understanding of what the information commonly used in CSS has, 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.