该文被密码保护。 阅读全文
摘要:
text-overflow: ellipsis;//超出文本设置为...display:-webkit-box;//将div1转换为盒子模型-webkit-line-clamp: 2;//设置div1的文本为2行-webkit-box-orient: vertical;//从顶部向底部垂直布置子元素 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <style type="text/css"> .box { position: relative; width: 100%; height: 200px; background 阅读全文
摘要:
硬: 重置后,本地正在修改的文件会消失, 本地代码会重置到所选的版本,本地变更(Default Changelist)将会被清空。 阅读全文
摘要:
Syntax Error: Error: Cannot find module 'node-sass' Require stack: - G:\ceshi\ceshi\node_modules\sass-loader\dist\index.js - G:\ceshi\ceshi\node_modul 阅读全文
摘要:
rem是相对于根元素html的font-size。 1rem = html的font-size 移动端适配通常使用rem。 在开发时,设计稿通常为750px物理像素 ,所以用750设计稿举例对应的iphone6的375px逻辑像素。(物理像素是逻辑像素的2倍) 375 / 7.5 = 50px(37 阅读全文