It's free and you have access to premium codes!
Welcome back! Please login to your account.
Don't worry, we'll send you a message to help you to recover your acount.
Please check your email for instructions to activate your account.
Written by 3 March 2021
Nowadays, visitors are more interested in seeing photos and videos than reading long texts and using photos on websites is inevitable. Therefore, having a special style for photos in addition to increasing their beauty, will cause visitors to spend more time in your attractive sites. The following code illustrates a picture that is cropped in an elliptical manner when it is hovered. Enjoy!
<!-- this script is provided by https://www.htmlfreecode.com coded by: Kerixa Inc. -->
<style>
.circle img {
transition: 1s ease;
}
.circle img:hover {
border-radius: 50%;
transition: 1s ease;
}
</style>
<div class="circle">
<img src="http://www.htmlfreecode.com/files/denver.jpg" width="350"/>
</div>
<a target="_blank" href="http://www.htmlfreecode.com/" style="font-size: 8pt; text-decoration: none;font-family:Tahoma">HTML Free Code</a>
<a target='_blank' href='https://www.htmlfreecode.com' style='font-size: 8pt; text-decoration: none'>Html Free Codes</a>
Comments
Here you can leave us commments. Let us know what you think about this code tutorial!