This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11755|Reply: 0

[CSS/DIV] DIV+CSS rounded borders

[Copy link]
Posted on 1/30/2015 10:25:10 AM | | |
DIV+CSS to make rounded corner borders One is to use CSS3, and the other is to use layout to simulate rounded corners.
1. Using CSS3, you can specify that 4 corners are rounded corners, or a certain corner is very convenient, the code is as follows:

CSS styles
#round {
background-color: #000;
border: 1px solid #000;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
color:#fff;
}

#indie {
background-color: #000;
border: 1px solid #000;
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
color:#fff;
}











Previous:C# gets the contents of a cell by right-clicking on the mouse in the listview
Next:C# copy and paste text information to the clipboard
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com