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