snovey / snovey.github.io Goto Github PK
View Code? Open in Web Editor NEWsnovey's blog
snovey's blog
inline-block
会产生多余的空白HTML 文本的换行
非常多,根据问题场景进行选择
td
设置 width
宽度不会生效参考: Why does CSS td
width not work?
未找到文档,推测与 table 的 display 属性有关
在 td
中套一层 div
,像这样:<td><div>content</div></td>
letter-spacing
尾部多余空白letter-spacing
会在每个字符后加入空白
hack 一下,可通过 margin-left
或 padding-left
调整
z-index
导致锚点链接在 IE10 以下失效待更新
readonly
与 disabled
区别readonly
的元素仅仅是不可编辑,会跟随表单一起提交,而 disable
不会readonly
能够被 focus(鼠标或者 Tab ),disable
不能canvas.width = 400;
canvas.height = 300;
canvas.style.width = '800px';
canvas.style.height = '600px';
二者之间的关系:
canvas 元素的宽高
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.