Template:Scale/style.css: Difference between revisions

From Polcompball Wiki
Jump to navigationJump to search
Content added Content deleted
(Created page with ".scaled img { image-rendering: pixelated; display: inline-block; } .scaled.x2 img { scale: 2; padding: 12px; }")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
.scaled {
display: inline-block;
}

.scaled img {
.scaled img {
image-rendering: pixelated;
image-rendering: pixelated;
display: inline-block;
}
}


.scaled.x2 img {
.scaled.x2 img {
scale: 2;
transform: scale(2);
padding: 12px;
margin: 12px;
}

.scaled.x3 img {
transform: scale(3);
margin: 24px;
}

.scaled.x4 img {
transform: scale(4);
margin: 36px;
}

.scaled.x5 img {
transform: scale(5);
margin: 48px;
}

.scaled.x6 img {
transform: scale(6);
margin: 62px;
}

.scaled.x7 img {
transform: scale(7);
margin: 76px;
}

.scaled.x8 img {
transform: scale(8);
margin: 90px;
}
}

Latest revision as of 13:43, 31 March 2023

.scaled {
    display: inline-block;
}

.scaled img {
    image-rendering: pixelated;
}

.scaled.x2 img {
    transform: scale(2);
    margin: 12px;
}

.scaled.x3 img {
    transform: scale(3);
    margin: 24px;
}

.scaled.x4 img {
    transform: scale(4);
    margin: 36px;
}

.scaled.x5 img {
    transform: scale(5);
    margin: 48px;
}

.scaled.x6 img {
    transform: scale(6);
    margin: 62px;
}

.scaled.x7 img {
    transform: scale(7);
    margin: 76px;
}

.scaled.x8 img {
    transform: scale(8);
    margin: 90px;
}