Home > Web Front-end > HTML Tutorial > What are the precautions when using H5 in enterprise development?

What are the precautions when using H5 in enterprise development?

php中世界最好的语言
Release: 2018-03-13 11:07:08
Original
1554 people have browsed it

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;
        }
Copy after login

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to php Chinese Other related articles online!

Recommended reading:

CSS background and sprite


How to use CSS display mode

The 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template