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: Återställd |
Sockadm (diskussion | bidrag) Ingen redigeringssammanfattning Märken: Manuell återställning Återställd |
||
| Rad 4: | Rad 4: | ||
.test_röd { |
.test_röd { |
||
color: red; |
color: red; |
||
} |
|||
/* 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; |
|||
} |
|||
} |
} |
||
Versionen från 25 juli 2026 kl. 19.09
.test_blå {
color: blue;
}
.test_röd {
color: red;
}
