Skip to main content

What code do I use to make the banner (featured image) responsive for mobile and different browsers?

2 条评论
  1. 2017年9月26日 11:10
    Hi @Craig Jackson

    Let's give a try - The code that would make the banner (featured image) responsive for mobile and different browsers is mentioned below on the basis of if the image is a "static image" or a "background image";

    Static Image : .parentclass img{width:100%; height:auto;}

    Background Image : background size:cover;

0/9000