S
S
Sanzhar Bazarbek2021-03-25 17:24:08
css
Sanzhar Bazarbek, 2021-03-25 17:24:08

How to work with responsive design with position absolute?

There is a button placed on images using position: absolute
But, when you open another browser OR open the browser in the "exit full screen" mode, the button is lost in the location

. I understand that the browser counts pixels. But how to fix it? In percentages? Or?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anvar Shakhmaev, 2021-03-25
@Rezvor

Parent container relative - width: 100%,
Child absolute - right, top.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question