Scooped Border
How do I make an scooped border?
Experimenting with making borders lovely. :-). What is a scooped border? How do you make a scooped border? This script and codes were developed by Ashlee Phillips on 15 September 2022, Thursday.
Scooped Border - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Scooped Border</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(https://fonts.googleapis.com/css?family=Montez);
* { box-sizing: border-box;
}
body { font-family: "Montez";
}
h1 { text-align: center; font-size: 3em; padding: 0; margin: 0; line-height: 180px; color: #FF7B69;
}
.box { height: 200px; width: 400px; margin: 0 auto; position: relative; overflow: hidden;
}
.box:hover .border { border: 5px solid #FF7B69;
}
.box:hover .scoop { border: 5px solid #FF7B69;
}
.border { height: 100%; width: 100%; position: absolute; border: 5px solid #98ff98; transition: border 300ms ease;
}
.scoop { background: white; border: 5px solid #98ff98; position: absolute; border-radius: 50%; height: 50px; width: 50px; transition: border 300ms ease;
}
.scoop1 { left: -20px; top: -20px;
}
.scoop2 { right: -20px; top: -20px;
}
.scoop3 { left: -20px; bottom: -20px;
}
.scoop4 { right: -20px; bottom: -20px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="box"> <div class="border"> <h1>hover me</h1> </div> <div class="scoop scoop1"></div> <div class="scoop scoop2"></div> <div class="scoop scoop3"></div> <div class="scoop scoop4"></div>
</div>
</body>
</html>
Scooped Border - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Montez);
* { box-sizing: border-box;
}
body { font-family: "Montez";
}
h1 { text-align: center; font-size: 3em; padding: 0; margin: 0; line-height: 180px; color: #FF7B69;
}
.box { height: 200px; width: 400px; margin: 0 auto; position: relative; overflow: hidden;
}
.box:hover .border { border: 5px solid #FF7B69;
}
.box:hover .scoop { border: 5px solid #FF7B69;
}
.border { height: 100%; width: 100%; position: absolute; border: 5px solid #98ff98; transition: border 300ms ease;
}
.scoop { background: white; border: 5px solid #98ff98; position: absolute; border-radius: 50%; height: 50px; width: 50px; transition: border 300ms ease;
}
.scoop1 { left: -20px; top: -20px;
}
.scoop2 { right: -20px; top: -20px;
}
.scoop3 { left: -20px; bottom: -20px;
}
.scoop4 { right: -20px; bottom: -20px;
}
Developer | Ashlee Phillips |
Username | smashlee |
Uploaded | September 15, 2022 |
Rating | 3 |
Size | 2,737 Kb |
Views | 28,336 |
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!
Name | Size |
Work in Progress | 2,991 Kb |
Form Start Up | 5,046 Kb |
99 Pledges Login | 3,722 Kb |
Scream for Ice Cream | 2,927 Kb |
Project Euler 01 | 1,482 Kb |
Simple Login | 2,462 Kb |
Project Euler 02 | 1,510 Kb |
Javascript practice | 1,723 Kb |
CSS Granny | 3,523 Kb |
Food Tag | 3,520 Kb |
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!
Name | Username | Size |
React JS Movie Info App | MTushar | 4,870 Kb |
Image Hover | Johnheiner | 3,409 Kb |
Template | Indra_z85 | 2,323 Kb |
Gradients | Karpovsystems | 2,394 Kb |
A Pen by Andrea Verlicchi | Verlok | 2,018 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
Flex Chart | James_zedd | 4,111 Kb |
Improve | Gavra | 1,652 Kb |
A Pen by Jonas Bjork | Jonasbjork | 3,115 Kb |
Simple search using AngularJS | Haykou | 1,802 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!