In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "how css makes elements without fillets on the left". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Method: 1, add the "border-bottom-left-radius:0;" style to the element, remove the fillet style in the lower right corner of the element; 2, add the "border-top-left-radius:0;" style to the element and remove the fillet style in the upper right corner of the element.
The operating environment of this tutorial: windows10 system, CSS3&&HTML5 version, Dell G3 computer.
How does css have no fillet on the left side of the element
In css, there is no fillet on the left side of the element through the border-bottom-left-radius and border-top-left-radius attributes, the border-top-left-radius attribute is used to set the fillet style of the upper-left corner of the element, and the border-bottom-left-radius attribute is used to set the fillet style of the lower-left corner of the element.
Just set these two values to 0 so that there is no fillet on the left side of the element.
Examples are as follows:
Div {background: darkcyan;width:200px;height:200px;border:2px solid darkslategray;border-radius:30px;border-top-left-radius:0;border-bottom-left-radius:0;}
Output result:
This is the end of the content of "how css makes elements without rounded corners on the left". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.