D
D
Denis2021-07-21 12:16:09
css
Denis, 2021-07-21 12:16:09

How to delay the appearance of html until its styles are loaded?

Hello, I have for example the following code:

<div class="privet">Привет</div>

<style type="text/css">
.privet {
    font-size: 20px;
}
</style>


How can I prevent this div from being displayed until its styles have fully loaded?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question