一些有用的UNIX命令

更改密码: passwd中更改密码. 定期做这种, 和密码保密. 文件操作命令: CP文件1文件2个file1拷贝到file2. MV文件1文件2文件1移动到file2. 如果参数在同一个目录, 这个命令只是重命名文件1到文件2. 如果file2的是一个目录, 文件1被移到…

CSS3动画滑

Most of the image gallery display nice little image with a cute description underneath it. If you want to make yours a little better, here’s a quick tutorial on how to improve the the user experience of your image gallery. 这个概念很容易, each images are displayed but not the text. The text will

搜索引擎优化的基本工具

在本届会议期间,我们已经有关于SEO的一些颇具技术文章, 所以它的时间短暂喘息. 我们将通过一些对于搜索引擎优化有用的工具考虑看看这样做.   搜索引擎对于搜索引擎优化最明显的工具是搜索引擎本身. 他们可以自由地…

13 最佳CSS破解

1. Target IE6, IE7, and IE8 with only 4 characters (hack) See the source above for a quick explanation. And don’t ask me to explain why 9 works for IE8…but it does. Use these with caution. [CSS] 身体 { 颜色: red; /* all browsers, 当然 */ 颜色 : green9; /* IE8 and below */ *颜色…

Validation classes in Magento

Probably many of Magento developers are aware of existence so called “validation” classes like “required-entry”(which is probably the most popular among all of them) but from time to time you need to use more sophisticated validation of your custom form fields – and for some of us that might become a problem, since far not

Resize image and rounded corners using CSS

The idea is to use the background-size: 覆盖; CSS property which handles the centering, cropping and, 好, covering. Here’s an extract from the fiddle: div.yourWrapper { 宽度: 50PX; 高度: 50PX; -WebKit的边界半径: 10PX; -MOZ-边界半径: 10PX; 边界半径: 10PX; 背景: url(‘some_image.jpg’) no-repeat center center; -webkit-background-size: 覆盖; -moz-background-size: 覆盖; -o-background-size: 覆盖; background-size: 覆盖; }