CSS3 border radius smooth effects examples

The CSS3 border-radius property allows us to create interesting rounder corners in their design elements, that can be used on both HTML elements and images, but according to me it will be best if it is used on images to create rounder without the need for corner images. Hope you will enjoy and love it.

Here we are going to cover some examples of border-radius with image.
they all examples supporting browser Firefox, Safari/Chrome, Opera and IE9+.

Common CSS

Here writing common css code for all images, just copy past and use it.

<style>
.common{
    border: 10px solid #fff;  
    float: left;
    height: 200px;
    width: 200px;
    margin: 14px;
    overflow: hidden;
    cursor:pointer;
    -webkit-box-shadow: 1px 2px 5px 5px #111;
    -moz-box-shadow: 1px 2px 5px 5px #111;
    -o-box-shadow: 1px 2px 5px 5px #111;
    -ms-box-shadow: 1px 2px 5px 5px #111;
    box-shadow: 1px 2px 5px 5px #111;
    
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
</style>

Example1 – Rounder Corners – border-radius

<style>
.effect1:hover {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}
</style>
<img src="http://www.phpkida.com/wp-content/uploads/2017/01/wordpress-theme-development.jpg" class="common effect1" alt="CSS3 border radius smooth effects examples" />

Example2 – Rounder Corners – border-radius

<style>
.effect2{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}
 
.effect2:hover {
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    -o-border-radius: 0%;
    -ms-border-radius: 0%;
    border-radius: 0%;
}
</style>
<img src="http://www.phpkida.com/wp-content/uploads/2017/01/wordpress-theme-development.jpg" class="common effect2" alt="CSS3 border radius smooth effects examples" />

Example3 – Rounder Corners – border-radius

<style>
.effect3{
    -webkit-border-top-left-radius: 100%;
    -moz-border-top-left-radius: 100%;
    -o-border-top-left-radius: 100%;
    -ms-border-top-left-radius: 100%;
    border-top-left-radius: 100%;
}

.effect3:hover {
    -webkit-border-top-left-radius: 0%;
    -moz-border-top-left-radius: 0%;
    -o-border-top-left-radius: 0%;
    -ms-border-top-left-radius: 0%;
    border-top-left-radius: 0%;
    -webkit-border-top-right-radius: 100%;
    -moz-border-top-right-radius: 100%;
    -o-border-top-right-radius: 100%;
    -ms-border-top-right-radius: 100%;
    border-border-top-right-radius: 100%;
}
</style>
<img src="http://www.phpkida.com/wp-content/uploads/2017/01/wordpress-theme-development.jpg" class="common effect3" alt="CSS3 border radius smooth effects examples" />

Example4 – Rounder Corners – border-radius

<style>
.effect4 {
    -webkit-border-top-left-radius: 50%;
    -moz-border-top-left-radius: 50%;
    -o-border-top-left-radius: 50%;
    -ms-border-top-left-radius: 50%;
    border-top-left-radius: 50%;
    -webkit-border-top-right-radius: 50%;
    -moz-border-top-right-radius: 50%;
    -o-border-top-right-radius: 50%;
    -ms-border-top-right-radius: 50%;
    border-border-top-right-radius: 50%;
}

.effect4:hover {
    -webkit-border-bottom-left-radius: 50%;
    -moz-border-bottom-left-radius: 50%;
    -o-border-bottom-left-radius: 50%;
    -ms-border-bottom-left-radius: 50%;
    border-bottom-left-radius: 50%;
    -webkit-border-bottom-right-radius: 50%;
    -moz-border-bottom-right-radius: 50%;
    -o-border-bottom-right-radius: 50%;
    -ms-border-bottom-right-radius: 50%;
    border-border-bottom-right-radius: 50%;
}
</style>
<img src="http://www.phpkida.com/wp-content/uploads/2017/01/wordpress-theme-development.jpg" class="common effect4" alt="CSS3 border radius smooth effects examples" />

Example5 – Rounder Corners – border-radius

<style>
.effect5 {
    -webkit-border-top-left-radius: 50%;
    -moz-border-top-left-radius: 50%;
    -o-border-top-left-radius: 50%;
    -ms-border-top-left-radius: 50%;
    border-top-left-radius: 50%;
    
    -webkit-border-bottom-right-radius: 50%;
    -moz-border-bottom-right-radius: 50%;
    -o-border-bottom-right-radius: 50%;
    -ms-border-bottom-right-radius: 50%;
    border-border-bottom-right-radius: 50%;
}

.effect5:hover {
    -webkit-border-top-right-radius: 50%;
    -moz-border-top-right-radius: 50%;
    -o-border-top-right-radius: 50%;
    -ms-border-top-right-radius: 50%;
    border-top-right-radius: 50%;
    
    -webkit-border-bottom-left-radius: 50%;
    -moz-border-bottom-left-radius: 50%;
    -o-border-bottom-left-radius: 50%;
    -ms-border-bottom-left-radius: 50%;
    border-border-bottom-left-radius: 50%;
    
    -webkit-border-top-left-radius: 0%;
    -moz-border-top-left-radius: 0%;
    -o-border-top-left-radius: 0%;
    -ms-border-top-left-radius: 0%;
    border-top-left-radius:  0%;
    
    -webkit-border-bottom-right-radius: 0%;
    -moz-border-bottom-right-radius: 0%;
    -o-border-bottom-right-radius: 0%;
    -ms-border-bottom-right-radius: 0%;
    border-border-bottom-right-radius: 0%;
}
</style>
<img src="http://www.phpkida.com/wp-content/uploads/2017/01/wordpress-theme-development.jpg" class="common effect5" alt="CSS3 border radius smooth effects examples" />

You Can View Demo and download Source Code of This Tutorial

If You have any question and problem in this code feel free, leave comment below! SHARE WITH YOUR FRIENDS..

Leave a Reply

Related Posts: You may like

Rotating Words with CSS Animations

Pure CSS Loader and spinners animation

Pure css drop down menu

Pure css dropdown navigation bar

PHPKIDA Offering Free Tools:

INSTA DOWNLOADER

Download Instagram Videos & Photos.

Download Now

CURRENCY CONVERTER

Real Time Currency Converter

Convert Now

ROBOST.TXT GEN.

Robots.txt File Creater

Create Now

HTML MINIFIER

Compress yout HTML Code

Minify Now

CSS MINIFIER

Compress yout CSS Code

Minify Now

JAVASCRIPT MINIFIER

Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.