2
Kirito I tell you to do with linear-gradient, so the corner is transparent and even the background feel an image you can see without problems.
body {
background-image: url(http://unsplash.it/300/300);
background-size: cover;
background-repeat: no-repeat;
}
.canto {
background-image: linear-gradient(45deg, black 0%, black 90%, transparent 90%);
width: 200px;
height: 80px;
line-height: 80px;
text-align: center;
color: peachpuff;
font-size: 2rem;
font-family: sans-serif;
}
<div class="canto">Meu BTN</div>
Uhhhh, is this an example snippet or is this a mistake?
– I_like_trains
@I_like_trains I think is a snippet error because everyone give the same problem, at least here for me....
– hugocsl
Yes, I’ve noticed several responses, but good answer
– I_like_trains
@I_like_trains thanks :D
– hugocsl