前端的一些坑,一些记录,一些冷知识( 九 )

,其他关键字还有

close closes closed fix fixesfixedresolve resolves resolved

git reset--soft HEAD^

回退一次 commit。

CSS

div 的默认宽度是父元素宽的 100%。

逐帧动画

animation:animate-name3ssteps(每次循环的帧数)infinite;

"Break out" of a parent's containing width to take the full screen of a page w/this nice utility class: