Make WordPress Core


Ignore:
Timestamp:
02/12/2026 07:56:42 PM (7 months ago)
Author:
joedolson
Message:

Twenty Twenty One: Remove support for Internet Explorer.

No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%.

Remove IE-specific CSS and polyfills.

Props sabernhardt, westonruter, mukesh27, joedolson.
Fixes #64590.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/07-utilities/ie.scss

    r58853 r61628  
    1 .is-IE {
    2 
    3         &.is-dark-theme {
    4                 color: #fff;
    5 
    6                 *,
    7                 a,
    8                 .site-description,
    9                 .entry-title,
    10                 .entry-footer,
    11                 .widget-area,
    12                 .post-navigation .meta-nav,
    13                 .footer-navigation-wrapper li a:link,
    14                 .site-footer > .site-info,
    15                 .site-footer > .site-info a,
    16                 .site-footer > .site-info a:visited {
    17                         color: #fff;
    18                 }
    19 
    20                 .sub-menu-toggle svg,
    21                 .sub-menu-toggle path,
    22                 .post-navigation .meta-nav svg,
    23                 .post-navigation .meta-nav path {
    24                         fill: #fff;
    25                 }
    26 
    27                 .primary-navigation > div > .menu-wrapper > li > .sub-menu li {
    28                         background: #000;
    29                 }
    30 
    31                 &.primary-navigation-open {
    32                         @include media(mobile-only) {
    33 
    34                                 .primary-navigation > .primary-menu-container,
    35                                 .menu-button-container {
    36                                         background-color: #000;
    37                                 }
    38                         }
    39                 }
    40 
    41                 .skip-link:focus {
    42                         color: #21759b;
    43                 }
    44         }
    45 
    46         .navigation .nav-links {
    47                 display: block;
    48         }
    49 
    50         .post-thumbnail .wp-post-image {
    51                 min-width: auto;
    52         }
    53 
    54         .wp-block-group {
    55 
    56                 &:before,
    57                 &:after {
    58                         content: "";
    59                         display: block;
    60                         clear: both;
    61                 }
    62         }
    63 
    64 }
     1// IE11 styles are removed.
Note: See TracChangeset for help on using the changeset viewer.