摘要:
CSS3 Rounded CornersThe border-radius property is a shorthand property for setting the four border-*-radius properties.syntaxborder-radius: 1-4 lengt... 阅读全文
posted @ 2015-12-30 15:56
提佰萬
阅读(319)
评论(0)
推荐(0)
摘要:
Image Opacity / TransparencyThe CSS opacity property is a part of the CSS3 recommendation.Example1 img {2 opacity: 0.4;3 filter: alpha(opacity... 阅读全文
posted @ 2015-12-30 15:33
提佰萬
阅读(357)
评论(0)
推荐(0)
摘要:
CSS CombinatorsFour different combinators in CSS3descendant selector (space)child selector (>)adjacent sibling selector (+)general sibling selector (~... 阅读全文
posted @ 2015-12-30 14:27
提佰萬
阅读(241)
评论(0)
推荐(0)
摘要:
Steps:1.保存到数据库之前把textarea中的换行字符转换为。var dbStr = textareaStr.replace(/\n|\r\n/g,"");2.读取数据时把 替换成textarea的换行符\n。var reg = new RegExp("","g"); //创建正则RegE... 阅读全文
posted @ 2015-12-30 10:27
提佰萬
阅读(1423)
评论(0)
推荐(0)