Changeset 11876 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
- Timestamp:
- 05/25/2022 02:00:00 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
r11128 r11876 228 228 } 229 229 230 .theme-browser .theme .theme-screenshot img { 231 display: block; 232 margin: 0 auto; 233 height: auto; 234 max-height: 300px; 230 .theme-browser .theme .theme-screenshot::before { 231 float: left; 232 padding-top: 75%; 233 content: ''; 234 } 235 236 .theme-browser .theme .theme-screenshot::after { 237 display: block; 238 content: ''; 239 clear: both; 240 } 241 242 .theme-browser .theme .theme-screenshot > img { 243 position: absolute; 244 top: 0; 235 245 left: 0; 236 position: inherit; 237 top: 0; 246 right: 0; 247 bottom: 0; 248 width: 100%; 249 object-fit: cover; 238 250 -webkit-transform: translateZ( 0 ); 239 251 transition: opacity 0.2s ease-in-out;
Note: See TracChangeset
for help on using the changeset viewer.