How to make a block adaptive?

0 like 0 dislike
19 views
there is such a unit:

5aec26e265a7e806914935.png5aec270451250278065225.png

Tried a media query with display: block for the element, but does not work. How to make a block adaptive?
by | 19 views

2 Answers

0 like 0 dislike
That's how solved the problem:
.av-countdown-cell { display: contents; } #top .av-countdown-style-1 .av-countdown-cell-inner { width: 90px; } .av-countdown-style-1 .av-countdown-time { width: 75px; max-width: 80px; height: 75px; }
by
0 like 0 dislike
there parents
display: flex; justify-content: center;

or understand how to work it or flex parent display: block do
by

Related questions

0 like 0 dislike
3 answers
asked Apr 9, 2019 by Andfree503
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
33,909 users