<button>Gradient Border Button </button>
<style>button {
color: #000;
cursor:pointer;
font-size: 1rem;
padding: .6rem 4rem;
border-radius: 100rem;
border: solid 3px transparent;
background-origin: border-box;
background-clip: content-box, border-box;
box-shadow: 0 0 6px 0 rgba(157, 96, 212, 0.5);
box-shadow: 2px 1000px 1px #fff inset;
background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(101deg, #78e4ff, #ff48fa);
}
button:hover {
color: #fff;
box-shadow: none;
}
</style>
No comments:
Post a Comment