Css draws a computer keyboard and css draws a keyboard
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
<Title> css keyboard painting </title>
<Style type = "text/css">
H2 {font-size: 24px; position: relative; top: 15px; left: 100px ;}
Body {background: # f5f6f7; font-size: 12px ;}
# Jianpan {width: 1100px; height: 360px; border: 1px solid #999; margin: 100px auto; background: # fff; border-radius: 20px; border: none;
Box-shadow: rgba (0, 0, 0.3) 0 1px 5px; position: relative ;}
. Anjian {width: 40px; height: 40px; border: none; box-shadow: rgba (0,0, 0, 0.3) 0 1px 5px; position: absolute; border-radius: 4px ;}
. Lan_1 {top: 47px; height: 28px ;}
. Esc {left: 20px ;}
. F1 {left: pixel PX ;}
. F2 {left: 164px ;}
. F3 {left: 212px ;}
. F4 {left: 260px ;}
. F5 {left: 328px ;}
. F6 {left: 384px ;}
. F7 {left: 432px ;}
. F8 {left: 480px ;}
. F9 {left: 548px ;}
. F10 {left: 596px ;}
. F11 {left: 644px ;}
. F12 {left: 692px ;}
. Lan_2 {top: 85px}
. A_1 {left: 20px ;}
. A_2 {left: 68px ;}
. A_3 {left: pixel PX ;}
. A_4 {left: 164px ;}
. A_5 {left: 212px ;}
. A_6 {left: 260px ;}
. A_7 {left: 308px ;}
. A_8 {left: 356px ;}
. A_9 {left: 404px ;}
. A_10 {left: 452px ;}
. A_11 {left: 500px ;}
. A_12 {left: 548px ;}
. A_13 {left: 596px ;}
. A_14 {left: 644px; width: 88px ;}
. Prt,. insert,. delete,. l_left {left: 747px ;}
. Scroll,. home,. end,. l_up,. l_down {left: 796px ;}
. Pause,. page_up,. page_down,. l_right {left: 844px ;}
. Lan_3 {top: 130px ;}
. Tap {left: 20px; width: 70px ;}
. Q {left: 98px ;}
. W {left: 146px ;}
. E {left: 194px ;}
. R {left: 242px ;}
. T {left: 290px ;}
. Y {left: 338px ;}
. U {left: pixel PX ;}
. I {left: 434px ;}
. O {left: 482px ;}
. P {left: 530px ;}
. P1 {left: 578px ;}
. P2 {left: 626px ;}
. P3 {left: 674px; width: 58px ;}
. Lan_4 {top: 175px ;}
. Caps {left: 20px; width: 80px ;}
. A {left: pixel PX ;}
. S {left: 156px ;}
. D {left: 204px ;}
. F {left: 252px ;}
. G {left: 300px ;}
. H {left: 348px ;}
. J {left: pixel PX ;}
. K {left: 444px ;}
. L {left: pixel PX ;}
. B _1 {left: 540px ;}
. B _2 {left: 588px ;}
. B _3 {left: 636px; width: 96px ;}
. Lan_5 {top: 220px ;}
. Shift {left: 20px; width: pixel PX ;}
. Z {left: 135px ;}
. X {left: 183px ;}
. C {left: 231px ;}
. V {left: 279px ;}
. B {left: 327px ;}
. N {left: 375px ;}
. M {left: 423px ;}
. M_1 {left: 471px ;}
. M_2 {left: 519px ;}
. M_3 {left: pixel PX ;}
. M_4 {left: 615px; width: 117px ;}
. Lan_6 {top: 265px ;}
. Ctrl,. ctrl_1 {width: 65px ;}
. Windows,. windows_1 {width: 55px ;}
. Alt,. alt_1,. right_on {width: 50px ;}
. Ctrl {left: 20px ;}
. Windows {left: 93px ;}
. Alt {left: 156px ;}
. Space {left: 214px; width: 270px ;}
. Alt_1 {left: pixel PX ;}
. Windows_1 {left: 550px ;}
. Right_on {left: 613px ;}
. Ctrl_1 {left: 671px ;}
. Ctrl_1 {width: 61px ;}
Span. first {position: absolute; top: 2px; left: 5px; line-height: 12px ;}
Span. second {position: absolute; top: 15px; text-align: center; width: 40px ;}
Span. third {position: absolute; top: 10px; left: 5px; width: 40px; line-height: 12px ;}
Span. fourth {position: absolute; top: 23px; left: 5px; width: 40px; line-height: 12px ;}
Span. Th {position: absolute; top: 40px; left: 5px; width: 40px; line-height: 12px ;}
. Num_lock,. seven,. four,. one,. zone {left: 899px ;}
. A_15,. eight,. five,. two {left: 947px ;}
. A_16,. nine,. six,. three,. del {left: 995px ;}
. A_17,. add,. s_enter {left: 1043px ;}
. Zone {width: 88px ;}
. Add,. s_enter {height: 85px ;}
</Style>
</Head>
<Body>
<Div> http://www.999jiujiu.com/</div>
<Div id = "jianpan">
<Div class = "esc anjian lan_1"> <span class = "first"> Esc </span> </div>
<Div class = "f1 anjian lan_1"> <span class = "first"> F1 </span> </div>
<Div class = "f2 anjian lan_1"> <span class = "first"> F2 </span> </div>
<Div class = "f3 anjian lan_1"> <span class = "first"> F3 </span> </div>
<Div class = "f4 anjian lan_1"> <span class = "first"> F4 </span> </div>
<Div class = "f5 anjian lan_1"> <span class = "first"> F5 </span> </div>
<Div class = "f6 anjian lan_1"> <span class = "first"> F6 </span> </div>
<Div class = "f7 anjian lan_1"> <span class = "first"> F7 </span> </div>
<Div class = "f8 anjian lan_1"> <span class = "first"> F8 </span> </div>
<Div class = "f9 anjian lan_1"> <span class = "first"> F9 </span> </div>
<Div class = "f10 anjian lan_1"> <span class = "first"> F10 </span> </div>
<Div class = "f11 anjian lan_1"> <span class = "first"> F11 </span> </div>
<Div class = "f12 anjian lan_1"> <span class = "first"> F12 </span> </div>
<Div class = "prt anjian lan_1"> <span class = "first"> PrtSc SysRq </span> </div>
<Div class = "scroll anjian lan_1"> <span class = "first"> Scroll Lock </span> </div>
<Div class = "pause anjian lan_1"> <span class = "first"> Pause Break </span> </div>
<Div class = "a_1 anjian lan_2"> <span class = "first"> ~ </Span> <span class = "fourth"> '</span> </div>
<Div class = "a_2 anjian lan_2"> <span class = "first">! </Span> <span class = "fourth"> 1 </span> </div>
<Div class = "a_3 anjian lan_2"> <span class = "first" >@</span> <span class = "fourth"> 2 </span> </div>
<Div class = "a_4 anjian lan_2"> <span class = "first" >#</span> <span class = "fourth"> 3 </span> </div>
<Div class = "a_5 anjian lan_2"> <span class = "first" >4 </span> <span class = "fourth"> 4 </span> </div>
<Div class = "a_6 anjian lan_2"> <span class = "first" >%</span> <span class = "fourth"> 5 </span> </div>
<Div class = "a_7 anjian lan_2"> <span class = "first" >^</span> <span class = "fourth"> 6 </span> </div>
<Div class = "a_8 anjian lan_2"> <span class = "first"> & </span> <span class = "fourth"> 7 </span> </div>
<Div class = "a_9 anjian lan_2"> <span class = "first"> * </span> <span class = "fourth"> 8 </span> </div>
<Div class = "a_10 anjian lan_2"> <span class = "first"> (</span> <span class = "fourth"> 9 </span> </div>
<Div class = "a_11 anjian lan_2"> <span class = "first">) </span> <span class = "fourth"> 0 </span> </div>
<Div class = "a_12 anjian lan_2"> <span class = "first">-</span> <span class = "fourth">-</span> </div>
<Div class = "a_13 anjian lan_2"> <span class = "first"> + </span> <span class = "fourth" >=</span> </div>
<Div class = "a_14 anjian lan_2"> <span class = "first"> define Backspace </span> </div>
<Div class = "insert anjian lan_2"> <span class = "second"> Insert </span> </div>
<Div class = "home anjian lan_2"> <span class = "second"> Home </span> </div>
<Div class = "page_up anjian lan_2"> <span class = "third"> Page Up </span> </div>
<Div class = "num_lock anjian lan_2"> <span class = "third"> Num Lock </span> </div>
<Div class = "a_15 anjian lan_2"> <span class = "third">/</span> </div>
<Div class = "a_16 anjian lan_2"> <span class = "third"> * </span> </div>
<Div class = "a_17 anjian lan_2"> <span class = "third">-</span> </div>
<Div class = "tap anjian lan_3"> <span class = "first"> Tap </span> </div>
<Div class = "q anjian lan_3"> <span class = "first"> Q </span> </div>
<Div class = "w anjian lan_3"> <span class = "first"> W </span> </div>
<Div class = "e anjian lan_3"> <span class = "first"> E </span> </div>
<Div class = "r anjian lan_3"> <span class = "first"> R </span> </div>
<Div class = "t anjian lan_3"> <span class = "first"> T </span> </div>
<Div class = "y anjian lan_3"> <span class = "first"> Y </span> </div>
<Div class = "u anjian lan_3"> <span class = "first"> U </span> </div>
<Div class = "I anjian lan_3"> <span class = "first"> I </span> </div>
<Div class = "o anjian lan_3"> <span class = "first"> O </span> </div>
<Div class = "p anjian lan_3"> <span class = "first"> P </span> </div>
<Div class = "p1 anjian lan_3"> <span class = "first" >{</span> </div>
<Div class = "p2 anjian lan_3"> <span class = "first" >}</span> </div>
<Div class = "p3 anjian lan_3"> <span class = "first" >|</span> <span class = "fourth" >\</span> </div>
<Div class = "delete anjian lan_3"> <span class = "second"> Delete </span> </div>
<Div class = "end anjian lan_3"> <span class = "second"> End </span> </div>
<Div class = "page_down anjian lan_3"> <span class = "third"> Page Down </span> </div>
<Div class = "seven anjian lan_3"> <span class = "third"> 7 </span> <span class = "fourth"> Home </span> </div>
<Div class = "eight anjian lan_3"> <span class = "third"> 8 </span> <span class = "fourth"> average </span> </div>
<Div class = "nine anjian lan_3"> <span class = "third"> 9 </span> <span class = "fourth"> PgUp </span> </div>
<Div class = "add anjian lan_3"> <span class = "th"> + </span> </div>
<Div class = "caps anjian lan_4"> <span class = "first"> Caps Lock </span> </div>
<Div class = "a anjian lan_4"> <span class = "first"> A </span> </div>
<Div class = "s anjian lan_4"> <span class = "first"> S </span> </div>
<Div class = "d anjian lan_4"> <span class = "first"> D </span> </div>
<Div class = "f anjian lan_4"> <span class = "first"> F </span> </div>
<Div class = "g anjian lan_4"> <span class = "first"> G </span> </div>
<Div class = "h anjian lan_4"> <span class = "first"> H </span> </div>
<Div class = "j anjian lan_4"> <span class = "first"> J </span> </div>
<Div class = "k anjian lan_4"> <span class = "first"> K </span> </div>
<Div class = "l anjian lan_4"> <span class = "first"> L </span> </div>
<Div class = "B _1 anjian lan_4"> <span class = "first" >:</span> </div>
<Div class = "B _2 anjian lan_4"> <span class = "first"> "</span> </div>
<Div class = "B _3 anjian lan_4"> <span class = "first"> Enter </span> </div>
<Div class = "four anjian lan_4"> <span class = "third"> 4 </span> <span class = "fourth"> margin </span> </div>
<Div class = "five anjian lan_4"> <span class = "third"> 5 </span> </div>
<Div class = "six anjian lan_4"> <span class = "third"> 6 </span> <span class = "fourth" >→</span> </div>
<Div class = "shift anjian lan_5"> <span class = "first"> Shift </span> </div>
<Div class = "z anjian lan_5"> <span class = "first"> Z </span> </div>
<Div class = "x anjian lan_5"> <span class = "first"> X </span> </div>
<Div class = "c anjian lan_5"> <span class = "first"> C </span> </div>
<Div class = "v anjian lan_5"> <span class = "first"> V </span> </div>
<Div class = "B anjian lan_5"> <span class = "first"> B </span> </div>
<Div class = "n anjian lan_5"> <span class = "first"> N </span> </div>
<Div class = "m anjian lan_5"> <span class = "first"> M </span> </div>
<Div class = "m_1 anjian lan_5"> <span class = "first"> </span> </div>
<Div class = "m_2 anjian lan_5"> <span class = "first" >></span> </div>
<Div class = "m_3 anjian lan_5"> <span class = "first">? </Span> </div>
<Div class = "m_4 anjian lan_5"> <span class = "first"> Shift </span> </div>
<Div class = "l_up anjian lan_5"> <span class = "second"> warning </span> </div>
<Div class = "one anjian lan_5"> <span class = "third"> 1 </span> <span class = "fourth"> End </span> </div>
<Div class = "two anjian lan_5"> <span class = "third"> 2 </span> <span class = "fourth"> average </span> </div>
<Div class = "three anjian lan_5"> <span class = "third"> 3 </span> <span class = "fourth"> PgDn </span> </div>
<Div class = "s_enter anjian lan_5"> <span class = "th"> Enter </span> </div>
<Div class = "ctrl anjian lan_6"> <span class = "first"> Ctrl </span> </div>
<Div class = "windows anjian lan_6"> <span class = "first"> Win </span> </div>
<Div class = "alt anjian lan_6"> <span class = "first"> Alt </span> </div>
<Div class = "space anjian lan_6"> <span class = "first"> </span> </div>
<Div class = "alt_1 anjian lan_6"> <span class = "first"> Alt </span> </div>
<Div class = "windows_1 anjian lan_6"> <span class = "first"> Win </span> </div>
<Div class = "right_on anjian lan_6"> <span class = "first"> </span> </div>
<Div class = "ctrl_1 anjian lan_6"> <span class = "first"> Ctrl </span> </div>
<Div class = "l_left anjian lan_6"> <span class = "second"> warning </span> </div>
<Div class = "l_down anjian lan_6"> <span class = "second"> warning </span> </div>
<Div class = "l_right anjian lan_6"> <span class = "second" >→</span> </div>
<Div class = "zone anjian lan_6"> <span class = "third"> 0 </span> <span class = "fourth"> Ins </span> </div>
<Div class = "del anjian lan_6"> <span class = "third">. </span> <span class = "fourth"> Del </span> </div>
</Div>
</Body>
</Html>