css заоблени ъгли
/* Set rounded corners with border-radius property */
.class {
border-radius: 4px;
}
.circle {
border-radius: 50%;
}
css радиус на границата
/* The syntax of the first radius allows one to four values */
/* Radius is set for all 4 sides */
border-radius: 10px;
/* top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5%;
/* top-left | top-right-and-bottom-left | bottom-right */
border-radius: 2px 4px 2px;
/* top-left | top-right | bottom-right | bottom-left */
border-radius: 1px 0 3px 4px;
/* The syntax of the second radius allows one to four values */
/* (first radius values) / radius */
border-radius: 10px / 20px;
/* (first radius values) / top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5% / 20px 30px;
/* (first radius values) / top-left | top-right-and-bottom-left | bottom-right */
border-radius: 10px 5px 2em / 20px 25px 30%;
/* (first radius values) / top-left | top-right | bottom-right | bottom-left */
border-radius: 10px 5% / 20px 25em 30px 35em;
/* Global values */
border-radius: inherit;
border-radius: initial;
border-radius: unset;
радиус на границата css
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
като заоблени ъгли контур div в css
div {
outline: auto;
outline-style: round;
}
css радиус на границата
/* Radius is set for all 4 sides */
border-radius: 10px;
/* top-left-and-bottom-right | top-right-and-bottom-left */
border-radius: 10px 5%;
/* top-left | top-right-and-bottom-left | bottom-right */
border-radius: 2px 4px 2px;
/* top-left | top-right | bottom-right | bottom-left */
border-radius: 1px 0 3px 4px;
/* The syntax of the second radius allows one to four values */
/* first radius / radius */
border-radius: 10px / 20px;
/* first radius => corner point to left or right side*/
/* second radius => corner point to top or bottom side*/
/* radius => corner point to both sides*/
css-радиус на границата
.my-div{
border: 2px solid #f00;
border-radius: 50%;
/* Specific Radius For Specific Border Side*/
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
/*
ShortHand
**border-radius: 5px 6px 7px 8px
5px => for top-left-radius
6px => for top-right-radius
7px => for bottom-left-radius
8px => for bottom-right-radius
**border-radius: 10px 20px
10px => for top-left and top-right radius
20px => for bottom-left and bottom-right radius
*/
}