The second page!

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>
    /* .bg1{
        height: 100%;
        width: 1902px;background-color: #4d4a40;
        border-top:30px solid; 
    } */
    *{
        margin: 0;padding: 0;
    }
    body{ width: 1902px;background-color: #4d4a40;
        border-top:30px solid; 
        position: absolute;
        top: 0px;}
    .bg2{
        width: 1713px;
        background-color: white;
        /* margin-bottom: 20px; */
        position: relative;
        top: 20px;left: 50px;
    }
    .box1{
        display: inline-block;
        width: 1781px;border: 5px solid #14414e;
        background-color: #267892;
        margin: auto;
        position: relative;
        top: 30px;
        right: 34px;
        font-size: 42px;color: #fff;text-align: center;
    }
    
    .art{clear: both;
        /* position: relative;top: 30px; */
        /* border: 1px solid   black; */
        line-height: 200%;
    
    }
    h1{font-size: 32px;
    width: 1541px;
    border-top: 1px dotted gray;
    border-bottom: 1px dotted gray;
    padding-top: 5px;
    padding-bottom: 5px;
    }
    .bg3{
        position: relative;
        left: 30px;
        top: 60px;
    }


</style>
<body>
    <div class="bg1">
        <div class="bg2">
                <div class="box1">
                    CSS中不为人知的部分<br>
                    <p style="font-size: 16px;color: white;">原文地址:<a href="">http://madebymike.com.au/writing/the-invisible-part-of-CSS/</a></p>
                    </div>
            <div class="bg3">
                <div class="art"
                    If you use CSS in their daily work, your Lord>
                    To target might focus around to make things "look right." How to achieve 
                    this is often far better than the final result so important. This means that compared with 
                    correct grammar and visual results, we are less concerned about the works of CSS. < Br > 
                    CSS visual result is usually an indirect consequence of the operation hidden attribute, you may not realize it 
                    some CSS properties (such as background color) have a direct and significant relationship with what you see 
                    . Meanwhile, other display attributes such as this for many of us still < br > However, is ambiguous 
                    because the results seem to have a great relationship with the context. 
                </ Div > 
                < h1 > Rendering Process Overview </ h1 > 
                < div class = "Art" > 
                When you load a HTML document, in order to make the page clear dye, There are a lot of things to happen. <br > 
                The first step is to parse the HTML document. From this point the browser to create a document tree. HTML is a tree like this have a way to clear hierarchy of information. Elements of the tree may be described as similar to the genealogy, such ancestor. Father, children and siblings, < br > 
                You've probably heard the term DOM, it represents the model document (Document object Model), which is an extension of the document tree structure. Is used to store and manipulate Web content related documents information. < Br > 
                As is parsed HTML, style sheets, and other resources are also acquired. Style declarations process called layer to be interpreted and determined amount. 
                </ Div > 
                < h1 of > multilayer </ h1 of > 
                < div class = "Art" > 
                laminate may be one of the most misunderstood CSS characteristics. It is a combination of different style sheets, and the process of resolving the conflict between the CSS selector. < Br > 
                The importance of stacked about the claim, as well as the source of the special nature of the order. To determine which style rules to use. <br > 
                Most sites have multiple style sheets. Typically, a reference pattern with a link mark CSS file, or HTML style tag body portion added. Even the most basic page will have a default style provided by the browser. This default style sheet is sometimes referred to as a user agent like Phi 
                stylesheet. </ Div > 
                < h1 of > box model </ h1 of > 
                < div class = "Art" > 
                understood that the box model is necessary to prevent defeat of the layout and positioning. The concept of the CSS box model is the most basic - < Br > 
                box model used to calculate the height and width of the element. A step of determining the final layout and positioning of elements is not entirely dependent on it - it is just in the process of calculation. < Br > 
                the HTML of each element is a rectangular box. Useful outer face of each box element in four areas (margin) border (borden. Inner edge face (pding) and a content area defined. < Br >
                By default, when we set the width of an element. Just set the width of the content area, when adding padding borders or margins to an element. Is an increase of some degree other than clothing. In practice this means that the clothes of 50% of the two elements If you add padding. Margins < br > or border, it will not fill the width of the side by side (as it has been more than 100% of the width). < Br > 
                is this! Fairly simple, right? So why this is often a source of feeling sleepy yet? Okay. you may have come across some things that seem to behave a little different situation,. </ div > 
                < the p- > & nbsp; </ the p- > 
                < the p- > & nbsp; </ the p- > 
                < the p- > & nbsp; </ the p- > 
            </ div > 

        </ div > 
    <
body>
</html>

 

Guess you like

Origin www.cnblogs.com/13330893721zhy/p/11242095.html