Basic Responsive Image and Video
The following CSS will allow images to resize down (not bigger) if they are bigger than their container.
img,video{
width: auto;
max-width: 100%;
height: auto;
}
The following CSS will allow images to resize down (not bigger) if they are bigger than their container.
img,video{
width: auto;
max-width: 100%;
height: auto;
}