Advices, CSS, Drupal, Tutorials

How to make a curve on the block in drupal7

The more you practice and explore more drills the better you can level-up your css also read more in css books or pdf files it will enhance your skills. You can also buy tutorials or free using youtube.

Get the selector or the id of the block then add for

example:  border-radius25px;

 

#block15 {
border-radius: 25px;
background: #73AD21;
padding: 20px;
width: 200px;
height: 150px;
}

 

#block-block-16
{
background-color: #0aa774;
padding-left: 22px;
padding-bottom: 5px;
padding-top: 17px;
box-shadow:inset -1px 2px 20px 0px #75f50e;

border-radius25px;

}

 

source: 

https://www.w3schools.com/css/css3_borders.asp

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...