S
S
Stone-Studio2016-08-25 12:24:31
css
Stone-Studio, 2016-08-25 12:24:31

How to make a popup responsive (fancybox)?

56a09c4370b64cfab2b8f7286d94c563.png9852ad9853954b7bb75f3d21c7a1915c.png
How to make the image maintain proportions on small screens?
fantasybox.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MassTek, 2016-08-25
@Stone-Studio

Fancybox Options
fancyapps.com/fancybox/#docs

autoSize	If true, then sets both autoHeight and autoWidth to true	
Boolean; Default value: true
autoHeight	If set to true, for 'inline', 'ajax' and 'html' type content width is auto determined. If no dimensions set this may give unexpected results	
Boolean; Default value: false
autoWidth	If set to true, for 'inline', 'ajax' and 'html' type content height is auto determined. If no dimensions set this may give unexpected results	
Boolean; Default value: false
autoResize	If set to true, the content will be resized after window resize event	
Boolean; Default value: !isTouch

D
drtvader, 2016-08-25
@drtvader

width: 100%
height: auto;

S
Stone-Studio, 2016-08-25
@Stone-Studio Автор вопроса

a2e012ca81174e888419075509da55e4.pngСпасибо! Почти помогло.. Как это поправить? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question