Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39073, comment 1


Ignore:
Timestamp:
12/04/2016 08:40:28 PM (8 years ago)
Author:
nonproftechie
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39073, comment 1

    initial v1  
    1 Instead of putting an `<img>` inside a `<div>`, what if we made the image a background to the `<div>` with user-defined options available for the alignment (with default `center center`)?
     1Instead of putting an `<img>` inside a `<div>`, what if we made the image a background to the `<div>` with user-defined options available for the alignment (with default `center center`)?  Or is there a specific reason we are doing the `<img>` inside the `<div>` (such as being able to replace `<img>` with `<video>` when it's a video background)?