CSS Circular Image Buttons

Developer
Size
1,853 Kb
Views
4,048

How do I make an css circular image buttons?

Simple CSS example of circular image buttons created using CSS border radius.. What is a css circular image buttons? How do you make a css circular image buttons? This script and codes were developed by Phil Sinatra on 01 February 2023, Wednesday.

CSS Circular Image Buttons Previews

CSS Circular Image Buttons - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Circular Image Buttons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div> <a href="#" class="btn-about circular">About</a> <a href="#" class="btn-contact circular">Contact</a>
</div>
</body>
</html>

CSS Circular Image Buttons - Script Codes CSS Codes

div { margin: 20px auto; max-width: 700px; width: 100%;
}
.circular { /* display items as block elements, inline positioning */ display: inline-block; /* set the height of the image */ height: 300px; /* hide the link text */ text-indent: -9999px; /* set the width of the image */ width: 300px; /* use a radius to make the image into a circular shape */ border-radius: 150px;	-webkit-border-radius: 150px;	-moz-border-radius: 150px; /* Add shadow to the box */ box-shadow: 0 0 8px rgba(0, 0, 0, .8);	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}
/* simple hover effect */
a.circular { opacity: .6; /* add fade transition effect to opacity change */ transition: opacity 0.3s ease-in-out; -webkit-transition: opacity 0.3s ease-in-out; /* Safari */
}
a.circular:hover { opacity: 1; }
.btn-about { background: url(http://placekitten.com/g/300/300) no-repeat;
}
.btn-contact { background: url(http://placekitten.com/g/300/300) no-repeat;
}
CSS Circular Image Buttons - Script Codes
CSS Circular Image Buttons - Script Codes
Home Page Home
Developer Phil Sinatra
Username philsinatra
Uploaded February 01, 2023
Rating 3
Size 1,853 Kb
Views 4,048
Do you need developer help for CSS Circular Image Buttons?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Phil Sinatra (philsinatra) Script Codes
Create amazing art & images with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!