You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
424 B
CSS

.card
{
width: 10cm;
height: 10cm;
border: solid 1px black;
box-shadow: 5px 5px 0px gray;
float: left;
margin: 2mm;
position: relative;
border-radius: 100%;
text-align: center;
}
.card > img {
width: calc(100% - 8mm - 8mm);
position: absolute;
top: 0;
left: 0;
margin: 8mm;
}
p {
position: absolute;
margin: 2mm;
width: 100%;
}
p.down {
bottom:0;
}