21个神奇的CSS技巧

  发布时间:2009-10-27 12:50:57   作者:佚名   我要评论
层叠样式表(CSS)是现代的网站设计不可或缺的重要组成部分,就像10年前那样,没有它网站就会显得是丑陋的。随着时间的推移,网络中的CSS的教程质量已有显著的提高。
这里罗列的是21个神奇的CSS技巧,您也可能是从来没有想过居然还可以通过CSS这样子来处理问题的。
 

1. 跨浏览器的CSS幻灯片



Amazing demonstration of how to create a cross browser image gallery using just CSS.

2. 基于CSS的图像地图

This tutorial demonstrates a crazy way to create an image map using just CSS.

3. 纯CSS的LightBox灯箱效果

Create a lighbox using just CSS with no JavaScript required.

4. CSS图片替换技术制作的按钮

Replace the submit buttons with images using CSS, degrades back to submit button if CSS is disabled.

5. 使用CSS实现的动画导航菜单

Amazing tutorial on how to create an animated navigation menu using just CSS.

6. 纯CSS实现的树型导航菜单

Create a tree like navigation from nested lists of links. Very useful for creating sitemaps.

7. CSS渐变文字效果

Create eye-catching titles with nice gradient effect using just CSS.

8. CSS菜单列表设计

Very easy to understand tutorial on how to create a menu list using either CSS border-style or background-image property.

9. 使用CSS负边距创建自适应的布局

Amazing way to create a liquid layout using negative margins

10. CSS绝对底部教程

This might occur to you some time when a content page has not enough content to fill the page, so footer also moves up due to this. This tutorial shows you how to deal with this and make footer stay at bottom even when content is not enough.

11. 简单、灵活的CSS面包屑导航

Create a nice scalable breadcrumb navigation

12. 漂亮的引用设计

Make the blockquotes in your content or blog posts standout from rest of content. Very useful to highlight major points in long content pages.

13. CSS实现的柱状图表

CSS Stacked Bar Graph

Display graphs on your website using just CSS without any JavaScript or other heavy plugins.

14. 如何使用链接列表创建一个块状悬停效果

15. CSS多列列表

This article shows all possible ways you can use to stack up an unordered list into multiple columns.

16. 使用CSS图片合并技术制作的日期显示

If you have ever visited Learning jQuery then you might have noticed the awesome date display next to each blog post. This tutorial will show you how to achieve that using CSS Sprites.

17. 使用CSS美化你的日期和留言背景

Display date and comments on your blog posts in a nice way that takes less space.

18. 如果CSS实现的图片浏览器

Create a nice image viewer using CSS that will work even if user has disabled flash and JavaScript in the browser.

19. 创建一个CSS图像预加载

Use the CSS background-image property to preload images without any javascript required.

20. 渐变淡出的页面底部效果

This tutorial shows you how to make page content fade away into the bottom of the page just like the fortuito.us blog.

21. 很酷很创新的CSS边框使用技巧

这篇文章介绍的是如何使用CSS的border属性来实现某些很酷的效果。您会惊讶于CSS的border属性达到的效果。

相关文章

  • 10个必备的CSS技巧总结

    这篇文章主要介绍了10个必备的CSS技巧总结,随看随记,敬请收藏~需要的朋友可以参考下
    2015-06-29
  • 要知道的10个CSS技巧

    CSS是网页设计师的基础,对CSS的了解能使他们能够设计出更加美观别致的网页。使用CSS技巧来巧妙地处理CSS是非常令设计师着迷的事情。在CSS的深海世界里有很多有意思的东西
    2013-04-09
  • 最常用和实用的CSS技巧

    最常用和实用的CSS技巧,不论是前台美工还是后台成员人员都需要注意的地方。
    2010-01-05
  • 网页制作中应用的50个CSS技巧(国外)

    几乎可以肯定的CSS是最好的一个网页设计的发展,因为第一次图形的Web浏览器通过了关于大规模,凡表创建笨重,缓慢加载网页,创建的CSS更加精简和实用的网页。
    2009-08-03
  • CSS技巧:IE6用import导入CSS的问题

    网页制作Webjx文章简介:本文描述了一个在IE6下用import导入CSS的问题! 在ie 6中可以先写CSS再加import比如 p {} @import url("base.css");
    2009-04-02
  • 书写CSS的5个小技巧让你的样式更规范

    CSS在书写过程中会一些小技巧,会省时省力,比如按字母顺序来排列css、先标记 后css等等,本文整理了一些,感兴趣的朋友可以参考下希望对大家书写css有所帮助
    2013-08-13
  • CSS Hack技术介绍及常用的Hack技巧集锦

    这篇文章主要介绍了CSS Hack技术介绍及常用的Hack技巧集锦,本文讲解了什么是CSS Hack、常用的CSS Hack、IE6对!important的支持、IE6下的多选择符等内容,需要的朋友可以参考
    2014-10-08
  • CSS hack技巧之IE6,IE7,firefox显示不同效果

    区别不同浏览器的CSS hack写法
    2010-03-06
  • IE6、IE7和FF的最简单的hack技巧-CSS教程-网页制作-网页教学网

      关于CSS HACK的文章在webjx.com中提及的也很多。   CSSer必须掌握的关于IE6、IE7和FF的最简单的hack技巧。 FF浏览器 .test{ height:20px; background-co
    2008-10-17
  • CSS常用技巧之CSS书写技巧和CSS HACK技巧

    不同的浏览器对CSS的解析结果是不同的,因此会导致相同的CSS输出的页面效果不同,这就需要CSS Hack来解决浏览器局部的兼容性问题,本文给大家分享CSS常用技巧之CSS书写技巧
    2016-01-12

最新评论