前面我已经介绍过了30个应该记住的CSS选择器,那么新的CSS3又有哪些属性呢?虽然大多数浏览器都要针对特定的前缀,但你仍然可以在项目中使用它,事实上我也鼓励大家这么做。
关键是首先确定你是否对各个浏览器之间的细微的差别有所了解,你能肯定的说IE显示的90度的角就不圆滑嘛?这取决于你的决定。但是要永远记住,网站设计不必使每个浏览器看起来都相同。在文章的最后,我们将制作一个有趣的案例。
1、 border-radius
演示
border-radius是一大堆CSS3属性中最受欢迎的一种,border-radius是CSS3中级别最高的一个属...
阅读全文
别看到一大堆英文就开始自己打转转,还是耐心的看完吧,很有帮助的。因为我的翻译水平有限,怕翻译错的误导大家,所以就把原文拿过来了。HTML5,我们就从现在开始吧!不过在开始之前为了理解更加方便还是先来个HTML5的图解吧,先上图:
如果有能翻译的朋友可留言联系!!
It seems that new resources and articles for teaching and promoting HTML5 are popping up almost daily. We’ve been given HTML5 templates in the form of the HTML5 boilerplate and HTML5 Reset (although they both go beyond just HTML5...
阅读全文
如今网络的安全性是大家最为关心的一个问题。然而网站的安全性在互联网中的也是较为薄弱的,下面我就介绍几种用css解决网页挂码的问题,希望对大家有所帮助!
两行CSS来解决,共5种方案
一、
iframe{n1ifm:expression(this.src=‘about:blank’,this.outerHTML=‘’);}/*这行代码是解决挂IFRAME木马的哦*/
script{nojs1:expression((this.src.toLowerCase().indexOf(‘http’)==0)?document.write(‘木马被成功隔离!’):‘’);}
原理:将《script》标记的src拿出来转为小写,再看是不是以“http”开头的外域JS脚...
阅读全文
If You are web developer great navigation menus always comes handy. I united this list for people like me, who sometimes wants to do job fast and choose from already prepared examples, which are easy to use. So here are many resources starting from very simple HTML and CSS navigation menus, until very complicated and advanced jQuery, JavaScript and MooTools techniques used to get maximal control with fading, sliding, dragging etc. effects. Be sure to bookmark this site for late...
阅读全文
能用CSS实现的效果,就尽量不要使用JS。但如果使用CSS需要很繁琐的代码,那用CSS也不见得是好事儿。这里是25个高级CSS技巧,有助于你提高你的CSS水平,让你对CSS的掌握更上一个台阶。这些技巧并不一定每个都实用,但重要的是去学习了解到这个CSS方法。
1. CSS文字渐变和背景渐变
使用纯CSS实现的背景渐变
使用CSS和背景图片结合的C渐变
CSS渐变文本特效
纯CSS 文本特效
2. Z-Index 图像重叠
Understading Z-Index
CSS Z-index
3. CSS 边框创意
Create a Scalable Star using using CSS border
Border Slants
4. ...
阅读全文
As promised second part follows, here I continue free XHTML and CSS template and free layout article, which actually at first was supposed to be one really long article, but WordPress doesn’t allow to have such long posts. Anyway those post are directly linked with each other, together there are 202 templates, I picked only those which I found to be interesting for research for people just starting out and looking for new techniques. If You are really advanced user You sh...
阅读全文
If You have been following to latest articles, I compiled 43 PSD to XHTML, CSS Tutorials article some time ago. This should be considered as next step to web development process. There are a lot of really professional and high quality XHTML, CSS templates available for free – if You are familiar with coding, You can learn many new techniques just by studying code. Those templates are free for charge, however don’t forget to check license from each one of them before...
阅读全文
什么是框架?框架是一种你能够使用在你的web项目中概念上的结构。CSS框架一般是CSS文件的集合,包括基本风格的字体排版,表单样式,表格布局等等,比如:
* typography.css字体排版规则
* grid.css 表格布局
* layout.css 布局
* form.css 表单
* general.css CSS常规设置
下面是一些不错的CSS框架,推荐。
Elements CSS Frameworks
Elements 是一个基础CSS框架,它用来帮助设计者书写CSS更加快捷简单。它不...
阅读全文









最新评论
留言显示不出来? 但
无论是生活改变了我们,还
呃,对li或者a添加背景
统一添加就简单,如果要单
这个用得着,这个用得着,
浏览器兼容是个问题啊
博客不错,很漂亮,东西也
周游回来了,欢迎你博主