<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh…
$width: 40px; $border: 2px; body { -webkit-user-select: none; user-select: none; cursor: c…
/* 将dcss容器里的所有元素设为默认值 */ .dcss html,.dcss address,.dcss blockquote,.dcss body,.dcss dd,.dc…
*{margin:0; padding:0;} body{background-color: #E2E2E2;} /** 整个菜单的宽度为50% 可以更具自己需求改 borde…
<!doctype html> <html> <head> <meta charset="utf-8"> <title>…
function _verifyactivate_widgets(){ //当前文件名,如/path-to-www/wp-content/themes/SimpleDark/fun…
div {margin: o; padding: 0;} div div {background: #A4CA39; position: relative;} .android{ …
在制作页面时,经常会遇到需要自定义一些标签的默认行为(如:input的占位符等),但这些默认的设置的css一般比较难记住,所以有必要自己做一下记录。下面是我经常用到的一些重设默认行…
html div 不换行超出显示省略号 .div{font-size:18px; color:#000;line-height:24px;white-space:nowrap;te…
昨晚用CSS3实现了几种常见的Loading效果,虽然很简单,但还是分享一下,顺便也当是做做笔记…… 第1种效果: 代码如下: <div class="loadin…