WordPress.org

Making WordPress.org

Changeset 1794


Ignore:
Timestamp:
07/28/2015 03:00:57 PM (6 years ago)
Author:
ocean90
Message:

wp4.css: Add .screen-reader-text to hide content visually but not from screen readers.

see #735.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r1769 r1794  
    8888}
    8989
     90/* Hide visually but not from screen readers */
     91.screen-reader-text {
     92    position: absolute;
     93    margin: -1px;
     94    padding: 0;
     95    height: 1px;
     96    width: 1px;
     97    overflow: hidden;
     98    clip: rect(0 0 0 0);
     99    border: 0;
     100    word-wrap: normal !important;
     101}
    90102
    91103/* =WordPress Core
Note: See TracChangeset for help on using the changeset viewer.