Skip to content

Instantly share code, notes, and snippets.

@fabiofidanza
Last active April 18, 2023 10:00
Show Gist options
  • Save fabiofidanza/2b9445524ceb48b92304cda8ab286374 to your computer and use it in GitHub Desktop.
Save fabiofidanza/2b9445524ceb48b92304cda8ab286374 to your computer and use it in GitHub Desktop.
Cost-example pecetta
.cost-example--value:nth-child(3) {
position: relative;
}
.cost-example--value:nth-child(3)::after {
content: "Il più urgente";
position: absolute;
z-index: 9000;
font-size: 10px;
text-align: center;
top: 0;
right: 0;
left: 0;
text-transform: uppercase;
background: #DA291C;
color: #fff;
font-weight: 800;
border-radius: 5px 5px 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment