Skip to content

Instantly share code, notes, and snippets.

@Kamshak Kamshak/border.html
Last active Nov 22, 2018

Embed
What would you like to do?
<html>
<head>
<style>
.rounded-corners-gradient-borders {
width: 300px;
height: 80px;
border: double 2px transparent;
border-radius: 80px;
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff);
background-origin: border-box;
background-clip: content-box, border-box;
}
.rounded-corners-gradient-borders:hover {
background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff);
background-origin: border-box;
background-clip: border-box;
}
</style>
</head>
<div class="rounded-corners-gradient-borders">
Create Trip
</div>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.