Scooped Border

Size
2,737 Kb
Views
28,336

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 Previews

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;
}
Scooped Border - Script Codes
Scooped Border - Script Codes
Home Page Home
Developer Ashlee Phillips
Username smashlee
Uploaded September 15, 2022
Rating 3
Size 2,737 Kb
Views 28,336
Do you need developer help for Scooped Border?

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!

Ashlee Phillips (smashlee) Script Codes
Create amazing video scripts 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!