Template:Demo RecipeItemIcon/styles.css: Difference between revisions
From Eco - English Wiki
| [unchecked revision] | [unchecked revision] |
mNo edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
height: fit-content; | height: fit-content; | ||
border: 6px solid yellow; | border: 6px solid yellow; | ||
border-radius: 3px; | |||
} | } | ||
Revision as of 13:46, 19 February 2026
.recipe-item-icon {
position: relative;
width: fit-content;
height: fit-content;
border: 6px solid yellow;
border-radius: 3px;
}
.recipe-item-icon__img-continer {
width: 64px;
height: 64px;
}
.recipe-item-icon__count {
position: absolute;
bottom: 4px;
right: 4px;
line-height: 1;
color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,0.85);
font-weight: bold;
}