Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css rounded corners

/* Set rounded corners with border-radius property */

.class {
  border-radius: 4px;
}

.circle {
  border-radius: 50%;
}
Comment

How to make a round corner in CSS

#roundCornerID {
    border-radius: 30%;
    width: 200px;
    height: 150px;   
}
Comment

css rounded corners

/* Use border-radius property */

.class {
  border-radius: 5px;
}

.circle {
  border-radius: 50%;
}
Comment

css hover rounded corners

.class:hover{border-radius: 20%;}
Comment

css rounded corners

/* 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;
Comment

css rounded corners

#div1{
    width: 150px;
    height: 150px;
    background: #05ffb0;
    border-radius: 20px;
}
Comment

PREVIOUS NEXT
Code Example
Css :: boxshadow in css 
Css :: import fontawesome 
Css :: css select last character 
Css :: how to give opacity to background only 
Css :: Change png to white using CSS 
Css :: css perfect box shadow 
Css :: excel arabic numbers 
Css :: css visibility 
Css :: background image size css 
Css :: div scrollable content 
Css :: css text color border 
Css :: use text-align to justify the paragraph style 
Css :: resize logo html css 
Css :: checkbox remove styling 
Css :: background color in css 
Css :: css backdrop-filter 
Css :: change scroll style angular 
Css :: opacity animation css 
Css :: position absolute center 
Css :: hide scrolbar tailwind 
Css :: center div absolute 
Css :: hover button scss 
Css :: jquery css multiple 
Css :: css media two conditions 
Css :: css on hover do something to children 
Css :: glass div generator 
Css :: react native flatlist styled height fit content 
Css :: css all except last 
Css :: css edit scroll bar 
Css :: how to align text verticaly 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =