Home >Web Front-end >HTML Tutorial >What are the precautions when using H5 in enterprise development?
This time I will bring you what are the precautions for using H5 in enterprise development. What are the precautions for using H5 in enterprise development? The following is a practical case, let's take a look. 3 In enterprise development, if we want to align the tops of multiple boxes, we can make multiple boxes float at the same time; or make them align at the top through positioning fine-tuning;
2. Remove the control system that comes with it Border: border:none;3. In enterprise development, first write the following code in css:
/*1.清空默认边距*/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{ margin:0;padding:0 } /*2.清空默认样式*/ a{ text-decoration: none; color: #ccc; } ul, ol{ list-style: none; } /*3.利用body设置整个界面的文字信息 文字大小 文字字体 文字颜色 */ body{ font-size:12px; font-family:"宋体"; color: #333; }
Recommended reading:
CSS background and spriteHow to use CSS display modeThe above is the detailed content of What are the precautions when using H5 in enterprise development?. For more information, please follow other related articles on the PHP Chinese website!