MediaWiki:Global.css: Skillnad mellan sidversioner
Från Sockipedia
Innehåll som raderades Innehåll som lades till
Sockadm (diskussion | bidrag) Ingen redigeringssammanfattning Märke: Manuell återställning |
Sockadm (diskussion | bidrag) Ingen redigeringssammanfattning |
||
| Rad 4: | Rad 4: | ||
.test_röd { |
.test_röd { |
||
color: red; |
color: red; |
||
} |
|||
.test_grön { |
|||
color: green; |
|||
} |
} |
||
Versionen från 25 juli 2026 kl. 19.11
.test_blå {
color: blue;
}
.test_röd {
color: red;
}
.test_grön {
color: green;
}
/* Visas bara på dator */
.desktop-only {
display: block;
}
/* Visas bara på mobil */
.mobile-only {
display: none;
}
/* På smala skärmar (mobil) */
@media screen and (max-width: 768px) {
.desktop-only {
display: none;
}
.mobile-only {
display: block;
}
}
