Css Round Image Corners Code Example


Example 1: css rounded corners


/* Set rounded corners with border-radius property */

.class {
border-radius: 4px;
}

.circle {
border-radius: 50%;
}

Example 2: how to round the corners of a div outline in css


div {
outline: auto;
outline-style: round;
}

Example 3: how to round the edges of an image in HTML


img.rounded-corners {
border-radius: 30px;
}

Example 4: css rounded corners


/* Use border-radius property */

.class {
border-radius: 5px;
}

.circle {
border-radius: 50%;
}

Example 5: rounded scrolling images


<div class="MagicScroll" data-options="loop: rewind;">    <img src="example1.jpg" />    <img src="example2.jpg" />    ...</div>

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android SDK Location Should Not Contain Whitespace, As This Cause Problems With NDK Tools