CSS - diagonal split hover effect -


this question has answer here:

is possible diagonal splitted background (as on image) css (without background image)?diagonal hover effect in menu

something this?

if desired style, can find more info on w3schools , mdn

.btn {    width: 250px;    height: 60px;    margin: 25px;    border-radius:4px;    background: linear-gradient(to bottom right, rgba(228,245,252,1) 0%,rgba(191,232,249,1) 50%,rgba(159,216,239,1) 51%,rgba(42,176,237,1) 100%);  }
<button class="btn">button  </button>


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -