摘要:
<!doctype html><html><head> <title></title><meta charset="UTF-8"><style> div,p,h1,h2,h3,h4,h5,h6,ul,a,{margin:0;padding:0;} .box{ width:100%; height:5 阅读全文
2016年9月19日 #
摘要:
适用于内核为webkit的浏览器: display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;兼容大多数浏览器,但是最后一行无论文本是否溢出都会出现省略号,需配合js实现 p 阅读全文
2016年9月9日 #
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Mask</title> <style type="text/css"> *{margin:0;padding:0;} .mask{ position:absolu 阅读全文
2016年9月2日 #
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <style type="text/css"> body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,in 阅读全文
摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>百分比加载</title></head><body> <canvas id="canvas" width="500" height="500" style="bac 阅读全文
2016年8月25日 #
摘要:
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>js分页</title><style type="text/css">div,ul,li,body 阅读全文
2016年8月24日 #
摘要:
<!DOCTYPE html><html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="content-type" content="text/html;charset 阅读全文