H2 (Detailseite)
CODE
×
HTML
<h2 class='gds'>Dies ist eine hervorragende Überschrift</h2>
CSS
h2.gds { font-size: 26px; line-height: 32px; font-family: 'Roboto'; font-style: normal; font-weight: 300; letter-spacing: 0.01rem; word-spacing: 0.025rem; color: var(--black); margin-bottom: 12px; margin-left: -1px; max-width: 920px; } @media screen and (max-width: 1119px) { h2.gds { font-size: 24px; line-height: 29px; margin: -3px 0 8px -1px; margin-left: 0px; } } @media screen and (max-width: 767px) { h2.gds { font-size: 21px; line-height: 25px; margin: -2px 0 12px 0px; margin-left: 0px; } } h2 { font-size: 30px; line-height: 36px; font-family: 'Roboto'; font-style: normal; font-weight: 300; letter-spacing: 0.01rem; word-spacing: 0.025rem; margin: 0 0 12px -2px; max-width: 800px; color: var(--black); margin-left: -2px; } @media screen and (max-width: 1119px) { h2 { font-size: 24px; line-height: 29px; margin: -3px 0 8px -1px; margin-left: -1px; } } @media screen and (max-width: 767px) { h2 { font-size: 21px !important; line-height: 25px !important; margin: -2px 0 12px 0px; margin-left: 0px; } }
JS
H2 (Detailseite)
barrierefrei
Erstellt: 02.07.2021 - 12:07 Uhr
Letzte Änderung: 03.03.2023 - 07:45 Uhr
×
Dies ist eine hervorragende Überschrift