css - horizontally display images on small browser window -


i have photo site noodling , have issue reactive sizing of browser window. images great @ 100%, when size down window landscape images start resize, understand sizing down meet width of browser window.

however when small, mimic smartphone, want these images stack, makes more sense images portrait. idea go left right , top bottom when browser small. im kinda rusty @ css , cant remember how done. can please brutha out , point me in right direction can going? im doing thru wp override option, approach should follow css best, im tard more complex.

the site here: http://jadanduffinphotography.com/

thanks! -jadan

what suggest is:

  • write css make images float: left; , position: relative;inside container div

  • detect orientation of browser window

  • according orientation, set width of container div

this should make images display horizontally when possible , make them stack vertically when not.

you should take @ this probably.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -