Skip to content

Instantly share code, notes, and snippets.

@ValentinFunk
Last active November 22, 2018 13:18
Show Gist options
  • Save ValentinFunk/6846bfd4802894846b31dd7b543c073f to your computer and use it in GitHub Desktop.
Save ValentinFunk/6846bfd4802894846b31dd7b543c073f to your computer and use it in GitHub Desktop.
<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