Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

skip main content - keyboard accessible buttons on navbar - css

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}
a.skip-main:focus {
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow: auto;
    margin: 0 35%;
    padding: 5px;
    font-size: 20px;
    outline: 3px solid red;
    text-align: center;
    z-index: 999;
}
Source by webdesign.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #skip #main #content #keyboard #accessible #buttons #navbar #css
ADD COMMENT
Topic
Name
8+5 =