image-resize-px.html 430 B

1234567891011121314
  1. <div id="snippet-image-resize-px">
  2. <p>Resize me using pixel values!</p>
  3. <figure class="image">
  4. <img src="%BASE_PATH%/assets/img/fields.jpg" alt="Autumn fields">
  5. <figcaption>Autumn fields by Aleksander Nowodziński</figcaption>
  6. </figure>
  7. <p>Resized image (width: 400px):</p>
  8. <figure class="image image_resized" style="width:400px;">
  9. <img src="%BASE_PATH%/assets/img/fields.jpg" alt="Autumn fields">
  10. </figure>
  11. </div>