KKeine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
margin-left: 50px; | margin-left: 50px; | ||
} | } | ||
ul { | |||
display: table; | |||
} | |||
li { | |||
display: table-cell; | |||
table-layout: fixed; | |||
border-spacing: 5px; | |||
} | |||
} | } | ||
Zeile 21: | Zeile 32: | ||
background-color: yellow; | background-color: yellow; | ||
} | } | ||
span { | |||
text-align: left; | |||
} | |||
} | } |
Version vom 17. Mai 2019, 14:18 Uhr
@media (min-width:901px) { .toc { float: right; margin-left: 50px; } ul { display: table; } li { display: table-cell; table-layout: fixed; border-spacing: 5px; } } @media (max-width: 900px) { .testen span { float: left; color:blue; } .toctitle { padding: 1px; } .toc { float: none; background-color: yellow; } span { text-align: left; } }