Разбираемся в CSS
Anonymous
Как предотвратить перекрытие строк и заставить медиа-запрос работать на больших экранах? [закрыто]
Сообщение
Anonymous » 04 янв 2026, 14:47
Как предотвратить перекрытие строк и заставить медиа-запросы работать на больших экранах веб-страницы с помощью следующих HTML и CSS?
Код: Выделить всё
/**This is the CSS**/
code {
font-family: "
verdana"
;
font-size: 18px;
color: black;
font-weight: bold !important;
line-height: 1.5 !important;
}
@media (max-width: 480px) {
code {
font: 18px "verdana" !important;
}
}
@media (min-width: 481px) and (max-width: 767px) {
code {
font: 18px "verdana" !important;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
code {
font: 18px "verdana" !important;
}
}
@media (min-width: 1025px) and (max-width: 1280px) {
code {
font: 18px "verdana" !important;
}
}
@media (min-width: 1281px) {
code {
font: 18px "verdana" !important;
}
}
Код: Выделить всё
Diagnosis and Tests for Addison's disease:-[/b]
Код: Выделить всё
Please E-mail us for any questions with respect to the above.[/b]
Подробнее здесь:
https://stackoverflow.com/questions/795 ... ge-screens
1767527229
Anonymous
Как предотвратить перекрытие строк и заставить медиа-запросы работать на больших экранах веб-страницы с помощью следующих HTML и CSS?[b] [code]/**This is the CSS**/ code { font-family: " verdana" ; font-size: 18px; color: black; font-weight: bold !important; line-height: 1.5 !important; } @media (max-width: 480px) { code { font: 18px "verdana" !important; } } @media (min-width: 481px) and (max-width: 767px) { code { font: 18px "verdana" !important; } } @media (min-width: 768px) and (max-width: 1024px) { code { font: 18px "verdana" !important; } } @media (min-width: 1025px) and (max-width: 1280px) { code { font: 18px "verdana" !important; } } @media (min-width: 1281px) { code { font: 18px "verdana" !important; } }[/code] [code] Diagnosis and Tests for Addison's disease:-[/b][/code] [b] [code]Please E-mail us for any questions with respect to the above.[/b][/code] Подробнее здесь: [url]https://stackoverflow.com/questions/79549932/how-to-prevent-line-overlapping-and-make-media-query-work-for-large-screens[/url]