how to make img responsive in bootstrap 4 code example Example: bootstrap image size .food1 img { width:100%; height: 230px; }