I failed to create a circle with below code. Can you explain how CSS circles work?
.circle {
    width: 200px;
    height: 200px;
    background: #4679BD;
}
I failed to create a circle with below code. Can you explain how CSS circles work?
.circle {
    width: 200px;
    height: 200px;
    background: #4679BD;
}
 
    
     
    
    Without gradients
.circle {
    width: 200px;
    height: 200px;
    -moz-border-radius: 50%; 
    -webkit-border-radius: 50%; 
    border-radius: 50%;
    background: #4679BD;
}
In CSS you can use border-radius You can set the value to 50% for pure circle or you can set the value in px for having a shape with a rounded corners
Your code should be like:
.circle {
        width: 200px;
        height: 200px;
        border-radius: 50%;
    }