Responsive Images with CSS

前端 未结 6 490
南方客
南方客 2020-11-29 19:27

I\'m finding it tricky to resize images to make them responsive.

I\'m developing a php application to automatically convert a website to a responsive version. I\'m a

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 19:28

    um responsive is simple

    • first off create a class named cell give it the property of display:table-cell
    • then @ max-width:700px do {display:block; width:100%; clear:both}

    and that's it no absolute divs ever; divs needs to be 100% then max-width: - desired width - for inner framming. A true responsive sites has less than 9 lines of css anything passed that you are in a world of shit and over complicated things.

    PS : reset.css style sheets are what makes css blinds there was a logical reason why they gave default styles in the first place.

提交回复
热议问题