+ 1
Is this a circle?, Should be a circle !!
I want an html page where texts be written in the form of bubbles on the screen !! ♠ Refer to the code below ↓↓ and (i) Make it a perfect circle , (ii) Make other bubbles and write anything!! https://code.sololearn.com/WZP7BBEzriVc/?ref=app [ Any changes / suggestions / advice is widely appreciated, and is required 😃 ]
8 Antworten
+ 8
border-radius:50%;
height:150px;
width:150px;
+ 2
In CSS tab:
Line 7:
Put border-radius : 50% instead of 50000px
+ 2
add this to the CSS code
.section{
border-radius:50%;
height:150px;
width:150px;
}
+ 2
Border-radius = 50%;
And width and height must be equal.
+ 1
Use this
.section{
border-radius:50%;
}
+ 1
.section{
height: 200px;
width: 200px;
border-radius: 50%;
}
funny enough i learnt this last week.
+ 1
You will require to set width and height attribute of div, something like
. section {
width:100px;
height:100px;
border-radius:50%
}
+ 1
Border-radius should be 50% and height and width should be equal,whatever they are.