WordPress.org

Make WordPress Core

Changeset 34634


Ignore:
Timestamp:
09/27/2015 06:40:40 PM (4 years ago)
Author:
wonderboymusic
Message:

Feature Image: Improve the preview for transparent background images by using CSS3 to show a checkered background.

Props metodiew.
Fixes #33299.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r34072 r34634  
    292292    height: auto;
    293293    width: auto;
     294    background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
     295    background-position: 0 0, 10px 10px;
     296    background-size: 20px 20px;
    294297}
    295298
Note: See TracChangeset for help on using the changeset viewer.