In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to set the frame style in css, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
If you want to flash some kind of border, you must set the rig border style, such as solid or outset.
So what happens if you set border-style to none:
P {border-style: none; border-width: 50px;}
It is true that the width of the border is 50px, but the border pattern is set to none. In such cases, not only does the pattern of the border disappear, but its width also becomes 0. The border is gone. Why?
This is because if the border pattern is none, that is, the border basically does not have it, then the border can have a width, which is passively set to 0 with the border width, no matter what your copy defines.
It is necessary to remember that 01:10 is necessary. In fact, forgetting the frame pattern of a statement is a common mistake. As follows, all H2 elements will not have any borders, let alone 20 pixels wide:
H2 {border-width: 20px;}
Since the default value of border-style is none, assuming there is no famous fancy, it goes to border-style: none. Therefore, if you want the border to emerge, you must be known as a border pattern.
Thank you for reading this article carefully. I hope the article "how to set the frame style in css" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.