html
北橙
这个作者很懒,什么都没留下…
展开
-
css实现垂直居中(面试的时候面试官经常会问的)
1.absolute + margin auto<style> .wrap { position: relative; width: 200px; height: 200px; border: 1px solid blueviolet; } .children { margi...原创 2018-09-14 14:10:15 · 709 阅读 · 0 评论 -
css公共样式
html{background-color:#fff;color:#000;font-size:12px}body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,figure,form,fieldset,legend,input,textarea,button,p,blockquote,th,td,pre,xmp{margin:0;padding:0}body,input,tex...原创 2018-09-20 15:16:39 · 682 阅读 · 1 评论