Answer the question
In order to leave comments, you need to log in
Why doesn't @media (min-width: 640px) work in post templates?
Hello.
It is necessary to make up a letter with adaptation for mobile devices.
I write as for normal html:
<style>
.text--normal {
font-size: 22px;
}
@media (max-width: 640px) { /* или @media only screen and (max-device-width: 640px) */
.text--normal {
font-size: 16px;
}
}
</style>
<p class="text--normal">Произвольный текст</p>
@media
the tag ( ) into the inside? <p style="{сюда}"></p>
Answer the question
In order to leave comments, you need to log in
Because no email client supports media queries.
https://yandex.ru/search/?text=adaptive+design+d...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question