Template:Demo RecipeItemIcon/styles.css: Difference between revisions
From Eco - English Wiki
| [unchecked revision] | [unchecked revision] |
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
.recipe-item-icon { | .recipe-item-icon { | ||
position: relative; | position: relative; | ||
width: fit-content; | |||
height: fit-content; | |||
border: 6px solid yellow; | border: 6px solid yellow; | ||
} | } | ||
Revision as of 13:44, 19 February 2026
.recipe-item-icon {
position: relative;
width: fit-content;
height: fit-content;
border: 6px solid yellow;
}
.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;
}