摘要:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title></title></head><style> .font18{ font-size:.28rem; width:2rem; border:1px solid red 阅读全文
摘要:
$(window).resize(function ()// 绑定到窗口的这个事件中 { var whdef = 100/1920;// 表示1920的设计图,使用100PX的默认值 var wH = window.innerHeight;// 当前窗口的高度 var wW = window.inn 阅读全文
摘要:
text-overflow:ellipsis;兼容性:所有主流浏览器都支持。 text-overflow: clip|ellipsis|string; clip(修剪文本) ellipsis(添加省略号) string(使用给定的字符串来代表被修剪的文本) 阅读全文