In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "border frame and padding margins in CSS how to use", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn how to use the border frame and padding margins in CSS "this article.
test
EDG malpractice
RNG, the first pseudo-strong team in the world
WE was eliminated ahead of schedule, but also fans 60E.
EDG Guodian, the World Hope
Css code
Td {
Padding-left:100px
Padding-bottom:100px
Padding-right:50px
Padding-top:50px
}
/ * padding controls the distance between the content and the margin. If only padding is followed by a value, it is the value above and below.
This is to set up the top, bottom, left and right separately * /
# p1 {
Border-top-style:groove
Border-top-width:5px
Border-top-color:deepskyblue
}
/ * controls the border of the outside point of the main content, as above, you can control four parts of border-top-style to control the top frame
If the above attribute is to control that the effect of the left and right border above is the same, border-width,border-top-color is the same as above * /
# p2 {
Border-radius:15px
Width:400px
Text-align:center
Background-color:deepskyblue
Border:4pxsolidfuchsia
}
/ * border-radius adds edges and corners, while border-image adds border images * /
# p3 {
Width:100px
Height:100px
Text-align:center
Color:red
Background-color:aqua
Box-shadow:10px10px5pxcornflowerblue
}
/ * box-shadow is a border shadow effect. The first attribute is how much is offset to the right
The second is downward, the third is the degree, and the fourth is the color of the shadow * /
These are all the contents of this article entitled "how to use border frames and padding margins 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.