ƯÁÁµÄCSS + XHTMLµ¼º½²Ëµ¥
Äã´ó¸ÅÖªµÀ£º¶ÔÓÚÒ»¸öеķÃÎÊÕßÀ´Ëµ£¬ËûÔÚ×î³õ20ÃëÄÚÓëijÍøÕ¾µÄ»¥¶¯Çé¿ö£¬¾ö¶¨ÁËËûÊÇ·ñ»áÁôÔÚÕâ¸öÍøÕ¾×ö½øÒ»²½µÄ̽Ë÷£¬»¹ÊÇÑﳤ¶øÈ¥¡£Õâ¾ÍÒâζ×Å£¬ÔÚÉè¼ÆÍøÒ³µÄʱºò£¬Äã±ØÐë×ñÑÒ»¶¨µÄ¹æÂÉÀ´Áôס·ÃÎÊÕß¡£¼òµ¥µÄ˵£¬¾ÍÊÇ°ÑËùÓеÄÍøÒ³ÔªËØ·ÅÔÚ·ÃÎÊÕßËùÆÚ´ýµÄλÖ᣽øÐдËÉè¼ÆµÄÒ»¸öÖØÒª¶øÓÐЧµÄ²¿·Ö£¬¾ÍÊÇÕûÒ»¸öÒ×ÓÚʹÓõĵ¼º½²Ëµ¥¡£
±¾ÎĽ«ÊÖ°ÑÊÖ´øÁìÄúÔÚjQueryµÄ°ïÖúÏ£¬ÖÆ×÷Ò»¸öƯÁÁµÄCSS + XHTMLµ¼º½²Ëµ¥¡£
Home
Services
Our clients
The team
About us
Contact us
µÚÒ»²½£ºHTML
<div id="menu-container">
<ul id="navigationMenu">
<li><a href="#" mce_href="#" class="normalMenu">Home</a></li>
<li><a href="#" mce_href="#" class="normalMenu">Services</a></li>
<li><a href="#" mce_href="#" class="selectedMenu">Our clients</a></li>
<li><a href="#" mce_href="#" class="normalMenu">The team</a></li>
<li><a href="#" mce_href="#" class="normalMenu">About us</a></li>
<li><a href="#" mce_href="#" class="normalMenu">Contact us</a></li>
</ul>
</div>
ºÇºÇ£¬Õâ´úÂë¼òµ¥°É£¿Æäʵ¾ÍÊÇÒ»¸ö ul
+ li
µÄ½á¹¹¡£Ò»Ä¿ÁËÈ»¡£Èç¹ûÄúÏë¼ÓÒ»Ï¼õÒ»Ï»òÊÇ»»¸ö²Ëµ¥Á´½Ó£¬¾Í¶Ô×Å li
ºÍ a
±êÇ©ÏÂÊ־ͳɡ£àÅ£¬Î¨Ò»ÐèҪעÒâµÄ¾ÍÊÇ£¬ÔõôÉ趨һ¸öµ±Ç°£¨»òÑ¡¶¨£©µÄ²Ëµ¥Ïî¡£ÈçÉÏÃæ´úÂ룬Äú¾Í°Ñ a
µÄ class ÉèΪ “selectedMenu” ¼´¿É£¨Èç´úÂëÖÐµÄ Our clients Ï¡£
Ïà¹ØÎĵµ£º
'################################################
'## ¹¦ ÄÜ£º»ñÈ¡ÎļþÃû ##
'## ÊäÈë²ÎÊý£ºÎļþ·¾¶ &nb ......
1.»ù±¾Óï·¨
¡¡¡¡
¡¡¡¡CSSµÄ¶¨ÒåÊÇÓÉÈý¸ö²¿·Ö¹¹³É£ºÑ¡Ôñ·û£¨selector£©£¬ÊôÐÔ£¨properties£©ºÍÊôÐÔµÄÈ¡Öµ£¨value£©¡£
¡¡¡¡»ù±¾¸ñʽÈçÏ£º
¡¡¡¡selector { property: value}
¡¡¡¡£¨Ñ¡Ôñ·û { ÊôÐÔ£ºÖµ}£©
¡¡¡¡Ñ¡Ôñ·ûÊÇ¿ÉÒÔÊǶàÖÖÐÎʽ£¬Ò»°ãÊÇÄãÒª¶¨ÒåÑùʽµÄHTML±ê¼Ç£¬ÀýÈçBODY¡¢P¡¢TABLE……£¬Äã¿ÉÒÔÍ ......
ÏÖÔÚ¸ø´ó¼ÒÏ×ÉÏÑÕÉ«¶ÔÕÕÂ룺
FFFFFF
#DDDDDD
#AAAAAA
#888888
#666666
#444444
#000000
#FFB7DD
#FF88C2
#FF44AA
#FF0088&n ......
DIV
CSSÉè¼ÆʱIE6¡¢IE7¡¢FF Óë¼æÈÝÐÔÓйصÄÌØÐÔ2008-03-28
14:21ÔÚÍøÕ¾Éè¼ÆµÄʱºò£¬Ó¦¸Ã×¢ÒâcssÑùʽ¼æÈݲ»Í¬ä¯ÀÀÆ÷ÎÊÌ⣬ÌرðÊǶÔÍêȫʹÓÃDIV CSSÉè¼ÆµÄÍø£¬¾ÍÓ¦¸Ã¸ü×¢ÒâIE6 IE7
FF¶ÔCSSÑùʽµÄ¼æÈÝ£¬²»È»£¬ÄãµÄÍøÂÒ¿ÉÄܳöÈ¥²»Ïë³öÏÖµÄЧ¹û£¡
ËùÓÐä¯ÀÀÆ÷ ͨÓà ......
CSS filter:RevealTrans Ó÷¨£º
Filter:revealtrans(duration=ת»»µÄÃëÊý£¬transition=ת»»µÄÀàÐÍ£©
CSSµÄRevealTrans¶¯Ì¬Â˾µÊÇÒ»¸öÉñÆæµÄÂ˾µ£¬ËüÄܲúÉú23ÖÖ¶¯Ì¬Ð§¹û£¬¸üΪÆæÃîµÄÊÇËü»¹ÄÜÔÚ23ÖÖ¶¯Ì¬Ð§¹ûÖÐËæ»ú³éÓÃÆäÖеÄÒ»ÖÖ¡£
¡¡¡¡Á½¸ö²ÎÊýTransitionºÍDuration£¬·Ö±ðÊDZ任Ч¹ûºÍ³ÖÐøʱ¼ä£¬ÆäÖÐDurationÊǸ¡µãÊý¡£
......