Bullseye

Developer
Size
2,019 Kb
Views
4,048

How do I make an bullseye?

Inspired by the lovely icon set by Axel Herrmann https://dribbble.com/shots/1770149-Random. What is a bullseye? How do you make a bullseye? This script and codes were developed by Barbara Laird on 16 January 2023, Monday.

Bullseye Previews

Bullseye - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Bullseye</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"><div class="bullseye"><div class="arrow"></div><div class="fletch-top"></div><div class="fletch-bot"></div></div></div>
</body>
</html>

Bullseye - Script Codes CSS Codes

/* dark: rgba(57, 147, 145, 1)
light: rgba(134, 194, 190, 1)
*/
.bullseye { margin-left:40px; width:200px; height:200px; background: rgb(57,147,145); /* Old browsers */ background: radial-gradient(ellipse at center, rgba(134, 194, 190, 1) 0px,rgba(134, 194, 190, 1) 15px, rgba(57, 147, 145, 1) 15px,rgba(57,147,145,1) 20px, rgba(57, 147, 145, 0) 20px,rgba(57,147,145,0) 40px, rgba(57, 147, 145, 1) 40px,rgba(57,147,145,1) 45px, rgba(134, 194, 190, 1) 45px,rgba(134, 194, 190, 1) 55px, rgba(57, 147, 145, 1) 55px,rgba(57,147,145,1) 60px, rgba(57, 147, 145, 0) 60px,rgba(57,147,145,0) 80px, rgba(57, 147, 145, 1) 80px,rgba(57,147,145,1) 85px, rgba(134, 194, 190, 1) 85px,rgba(134, 194, 190, 1) 95px, rgba(57, 147, 145, 1) 95px,rgba(57,147,145,1) 100px, rgba(57, 147, 145, 0) 100px,rgba(57,147,145,0) 120px, rgba(0,0,0,0) 100%); position:relative;
}
.arrow { position:absolute; border-top:5px solid rgba(57, 147, 145, 1); border-right:5px solid rgba(57, 147, 145, .7); width: 98px; height:68px; top:98px; left:-35px; -ms-transform: skew(-45deg, 0); /* IE 9 */ -webkit-transform: skew(-45deg,0); /* Chrome, Safari, Opera */ transform: skew(-45deg, 0);
}
.fletch-bot { position:absolute; left:-35px; top:98px; width:25px; height:8px; border: 5px solid rgba(57, 147, 145, 1); background: rgba(134, 194, 190, 1); -ms-transform: skew(-35deg, 0); /* IE 9 */ -webkit-transform: skew(-35deg,0); /* Chrome, Safari, Opera */ transform: skew(-35deg, 0); border-radius: 5px;
}
.fletch-top { position:absolute; top:85px; left:-35px; width:25px; height:8px; border: 5px solid rgba(57, 147, 145, 1); background: linear-gradient(to right, rgb(100,174,174) 40% , rgba(57, 147, 145, 1) 40%,rgba(57, 147, 145, 1) 75%, rgb(100,174,174) 75%); -ms-transform: skew(35deg, 0); /* IE 9 */ -webkit-transform: skew(35deg,0); /* Chrome, Safari, Opera */ transform: skew(35deg, 0); border-radius: 5px;
}
body { background:#fefdfa;
}
.container { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin-top: -100px; /* Half the height */ margin-left: -100px; /* Half the width */
}
Bullseye - Script Codes
Bullseye - Script Codes
Home Page Home
Developer Barbara Laird
Username bhlaird
Uploaded January 16, 2023
Rating 3
Size 2,019 Kb
Views 4,048
Do you need developer help for Bullseye?

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!

Barbara Laird (bhlaird) Script Codes
Create amazing captions 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!