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

Tools:

Crypto Currency

PHPKIDA provides free online the best real-time crypto market price, news, predictions, index with graphs & historical data for 2000+ coins including bitcoin, ethereum, & altcoins from major cryptocurrency exchanges.

Visite Tool

Icon Generator

PHPKIDA provides free online icon generator. Our icon generator help you to edit, modify, resize and customize icon for your website and applications. Convert to a shap you like add icon border, you can change icon border color, border size, background color, icon shadow, icons color, icon size in your own way and save it as a png image.

Visite Tool

Youtube Video Downloader

PHPKIDA provides Free online YouTube video downloader to download YouTube videos quickly in MP4, 3GP, and more. Search your video and free fast download youtube videos.

Visite Tool

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.