In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Next, please follow the editor to study!
Or define multiple formats for a border, such as:
P.aside {border-style: solid dotted dashed double;}
The following provision defines four border techniques for a paragraph named aside: the top border of the solid line, the left border of the dotted line, the lower border of the dotted line, and a double left border.
We also see that the values here take the measures of top-right-bottom-left, and we have also seen this in the case of using multiple values to configure unsuitable inner margins.
Defining unilateral techniques
If you want to set up a border pattern for one of the edges of the element box, instead of configuring all four border patterns, you can use the following one-sided border pattern attributes:
Border-top-style
Border-right-style
Border-bottom-style
Border-left-style
So these two methods are equivalent:
P {border-style: solid solid solid none;} p {border-style: solid; border-left-style: none;}
Hope: if you want to apply the second door path, you must put the unilateral attribute after the abbreviated attribute. Because if you put a unilateral attribute before border-style, the value of the abbreviated attribute will mask the unilateral value none.
At this point, the study of "how to define multiple styles in CSS" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.