Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¾«Ñ¡30¸öÓÅÐãµÄCSS¼¼ÊõºÍʵÀý

    ±¾ÎÄΪ´ó¼ÒÊÕ¼¯¾«Ñ¡ÁË30¸öʹÓô¿CSS
Íê³ÉµÄÇ¿´óʵ¼ùµÄÓÅÐãCSS¼¼ÊõºÍʵÀý
£¬Äú½«ÔÚÕâÀï·¢ÏֺܶàÓëÖÚ²»Í¬µÄ¼¼Êõ£¬±ÈÈç:ͼƬ¼¯¡¢ÒõӰЧ¹û¡¢¿ÉÀ©Õ¹°´Å¥¡¢²Ëµ¥µÈ…ÕâЩʵÀý¶¼ÊÇʹÓô¿CSSºÍHTMLʵÏֵġ£
µ¥»÷ÿ¸öʵÀýµÄ±êÌâ¿ÉÒÔ±»×ªÏòµ½¸Ã¼¼ÊõʵÀýµÄÏà¹Ø½Ì³Ì»ò˵Ã÷Ò³Ãæ(Ó¢ÎÄ)£¬µ¥»÷ÿ¸öʵÀýµÄͼƬ½Øͼ¿ÉÒÔÖ±½ÓÌøתµ½ÏàӦʵÀýµÄDemoÒ³Ãæ¡£
1.Hoverbox ͼƬ¼¯
Ò»¸ö´¿¾»µÄ»ùÓÚCSSµÄͼƬ¼¯£¬Êó±êÐüÍ£ËõÂÔͼ¾Í»áÏÔʾ·Å´óЧ¹û¡£
2.¸ß¼¶CSS²Ëµ¥
Ò»¿îºÜÓд´ÒâÇÒ¸´ÔÓµÄCSSµ¼º½·½°¸¡£
3.»¬¶¯Ó°¼¯
ÊÖ·çÇÙЧ¹ûµÄÓ°¼¯£¬ÐüÍ£±ã¿ÉÀ­ÉìͼƬ¡£
4.Lightbox»ÃµÆƬ
ÌâΪ”Supercharge your image borders
“µÄÎÄÕÂÖеÄÒ»²¿·ÖչʾÁËÈçºÎʹÓÃCSSÑùʽÈÃͼƬ±äµÃ¸üÓÐÒâ˼¡£
5.ͼƬµÄÒõӰЧ¹û
ÔÚA List ApartÉϵÄÒ»¸ö¹ØÓÚͼƬЧ¹ûDemoµÄÌÖÂÛÎÄÕ”CSS Drop shadows
“.
6.¿çä¯ÀÀÆ÷¶àҳʽӰ¼¯
ÐüÍ£±êÇ©¸Ä±ä·ÖÀ࣬ÐüÍ£ËõÂÔͼÏÔʾ·Å´óͼ¡£
7.CSSÕÕƬ·Å´ó
ʹÓüòµ¥µÄͼƬºÍbackground-positionÊôÐÔÀ´½øÐе÷½â¡£
8.CSS gallery layout—smells like a table
Ä£·Â±í¸ñ²¼¾Ö£¬µ«Ê¹ÓõÄÊÇÁÐ±í¡£Í¼¼¯ÊÇÁ÷ʽ¿í¶È¡£
9.Sticky Footer
½öʹÓÃÁ˺ÜÉÙXHTMLµÄ¾²Ì¬Ò³½Å¡£
10.whatever: hover
Ä£·ÂWindows¿ªÊ¼²Ëµ¥µÄCSSµ¼º½²Ëµ¥¡£
11.´¿CSSÊÖ·çÇÙЧ¹û
ʹÓÃdivºÍ:hoverαÀàµÄÊÖ·çÇÙЧ¹û£¬Õâ¸öЧ¹û¿ÉÒÔ´¹Ö±ÏÔʾҲ¿ÉÒÔˮƽÏÔʾ¡£
12.ʹÓÃPNGºÍ±³¾°É«µÄ¿ÉÀ©Õ¹°´Å¥
13.Pushbutton Links
Á´½ÓÔÚ²»Ê¹ÓÃͼƬµÄÇé¿öÏ¿´ÆðÀ´Ïñ¸ö°´Å¥¡£
14.º¬¹Ì¶¨HeaderµÄ¿É¾í¶¯±í¸ñ
±í¸ñµÄ±êÌâ±»¹Ì¶¨µÄÓÅÐ㳤±í¸ñ¡£
15.CSSÄÚÈÝÕÚ¸Ç
µ±ÄãÐüÍ£ÔÚͼƬÉÏʱ£¬divÈÝÆ÷»áÏÔʾ¸ü¶àÎÄ×Ö¡£
16.CSSÑùʽ±í¸ñ°æ±¾2
Ò»¸öʹÓñ³¾°Í¼Æ¬Çҷdz£Æ¯ÁÁ£¬±»ÓïÒ廯±ê¼ÇµÄ±í¸ñ¡£
17.PNGÕÚ¸Ç
ÁíÒ»ÖÖΪͼƬÌí¼ÓÔ²½ÇµÄ·½·¨¡££¨Ô²½Ç¡¢±ß¿ò¡¢ÒõÓ°£©
18.ÀûÓÃCSSΪ³¬Á´½ÓÌí¼ÓÌáʾ
¹ØÓÚΪ²»Í¬ÀàÐ͵ÄÁ´½ÓÌí¼Óͼ±êµÄ¼òµ¥½Ì³Ì¡£
19.¼òµ¥µÄCSSÔ²½Ç±ß¿ò
½öÊÊÓÃÁËÒ»ÕÅͼƬºÍºÜÉٵļ¸ÐдúÂë¼°±ê¼Ç¡£
20.Sitemap Celebration
ʹÓÃǶÌ×ÁбíµÄÊ÷Ð½£¬ºÜÊʺÏÍøÕ¾µØͼҳÃæ¡£
21.¼òµ¥µÄ¿çä¯ÀÀÆ÷»ÃµÆƬ
²»Ê¹ÓÃJavaScriptʵÏÖ͸Ã÷¶È¼¼ÇÉ£¨µ«ÊÇÒÔ²»·ûºÏXHTMLÑé֤Ϊ´ú¼Û£©
22.Ô²½Ç2
Á÷ʽ¿ç¶ÈºÍ¸ß¶ÈµÄÔ²½Çdiv¡£
23.ʹÓñ³¾°Í¼Æ¬°Ù·Ö±ÈÀ´´´½¨Í¼±í
ÌõÏßͼʹÓÃÁбí
¡£
24.CSSÖù״ͼ:ʵÀý
3¿îÖù״ͼʵÀý:ʹÓÃdivºÍÁбí±êÇ©µÄ”»ù±¾CSSÖù״ͼ”¡¢”¸´ÔÓCSSÖù×´Í


Ïà¹ØÎĵµ£º

ÍøÒ³ÖÆ×÷֪ʶ£ºdiv+css ÃæÊÔÌâÄ¿


1.³¬Á´½Ó·ÃÎʹýºóhoverÑùʽ¾Í²»³öÏÖµÄÎÊÌâ?
±»µã»÷·ÃÎʹýµÄ³¬Á´½ÓÑùʽ²»ÔÚ¾ßÓÐhoverºÍactiveÁË,½â¾ö·½·¨ÊǸıäCSSÊôÐÔµÄÅÅÁÐ˳Ðò: L-V-H-A
2.IE6µÄË«±¶±ß¾àBUG
ÀýÈç:
<style type="text/css">
    body {margin:0}
    div { float:left; margin-left:10px; width:200px; ......

div+cssÖÆ×÷µÄµ¯³ö²Ëµ¥(±ê×¼ÇÒÎÞjs)

<!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>Èý¼¶dropdownµ¯³ö ......

Å£ÈËÒ²µÃ¿´µÄ15¸öCSS³£Ê¶

      1¡¢²»ÒªÊ¹ÓùýСµÄͼƬ×ö±³¾°Æ½ÆÌ¡£Õâ¾ÍÊÇΪºÎºÜ¶àÈ˶¼²»Óà1px µÄÔ­Òò£¬Õâ²ÅÖªÏþ¡£¿í¸ß 1px µÄͼƬƽÆ̳öÒ»¸ö¿í¸ß 200px µÄÇøÓò£¬ÐèÒª 200*200=40, 000 ´Î£¬Õ¼ÓÃ×ÊÔ´¡£ 
¡¡¡¡2¡¢Îޱ߿ò¡£ÍƼöµÄд·¨ÊÇ border:none;£¬¹þ¹þ£¬ÎÒÒ»Ö± ......

SpriteMe Ò³ÃæCSSͼƬ¹¤¾ß

SpriteMeÊÇGoogleµÄÒ»¸ö¿ªÔ´ÏîÄ¿£¬¿ÉÒÔÓÃÀ´·½±ãµØÕÒ³öÒ»¸öÒ³ÃæÖÐËùʹÓõÄͼƬ£¬È»ºó¿ÉÒÔ½«ËùÒÔͼƬºÏ²¢µ½Ò»¸ö“Sprite”ͼƬ£¬È»ºóÔÙͨ¹ý
CSS¿ØÖƵ÷ÓÃÄÄÒ»¸öÇøÓò£¬ÆäÌṩÁËÒ»¸öÍøÕ¾À´°²×°£¬ÑÝʾʹÓ÷½·¨£¬http://spriteme.org/  ¡£
°²×°·½·¨ºÜ¼òµ¥£¬°´ÕÕÉÏÃæÄǸöÒ³ÃæÉϵÄÌáʾ£¬½«Ò»¸öÁ´½ÓÍϵ½“ÊéÇ©¹ ......

cssʵÏÖÎÞͼƬÈý½ÇÐδ¹Ö±µ¼º½Ìõ

Ч¹ûÈçÏ£º
ǰ̨´úÂ룺
   <div id="Men">
            <a href ="addnewbooks.aspx" target="_blank"><span class="left"></span>Ôö¼ÓÐÂÊé<span class="right"></span></a>
    &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ