css circle border
.circle {
background-color:#fff;
border:1px solid red;
height:100px;
border-radius:50%;
-moz-border-radius:50%;
-webkit-border-radius:50%;
width:100px;
}
<div class="circle"></div>
css circle border
.circle {
background-color:#fff;
border:1px solid red;
height:100px;
border-radius:50%;
-moz-border-radius:50%;
-webkit-border-radius:50%;
width:100px;
}
<div class="circle"></div>
css scaling border radius
// to scale a border-radius based upon the element size it is nested in. (rounded corners)
// simply change the vw number from .1 to 10 or whatever to change the amount of curve.
#box1 {
border-radius: 2vw;
}
border radius 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 round outline
/*A box-shadow can be used for a similar effect*/
.your-box-or-button-class{
box-shadow: 0 0 3px #000000;
}
outline-radius css
/*need perfix until now 4/23/2021*/
/*
-webkit- => Chrome, Safari, New Opera Version
-moz- => Firefox
-ms- => Ie, Edge
-o- => Old Version of Opera
*/
/* One value */
-moz-outline-radius: 25px;
/* Two values */
-moz-outline-radius: 25px 1em;
/* Three values */
-moz-outline-radius: 25px 1em 12%;
/* Four values */
-moz-outline-radius: 25px 1em 12% 4mm;
/* Global values */
-moz-outline-radius: inherit;
-moz-outline-radius: initial;
-moz-outline-radius: unset;
outline radius css
/* use box-shadow instead of outline radius */
box-sizing: border-box;
border-radius: 100%;
border: 3px solid #dadada;
box-shadow: 0 0 0 2px #fff inset;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us