色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

文本比網站大的問題-縮放的問題

黃文隆2年前9瀏覽0評論

我有縮放的問題。文本可能太大,在桌面網站上一切正常。 當我們啟動手機網站版本時,問題就出現了。現在,文本比站點大,而且當我打開我的導航欄時,文本就在文本上。這使得導航欄無用,我們不能使用它。當寬度小于500像素或者我們正在使用手機時,我需要幫助來縮小這個文本。如果需要更多的信息,告訴我:)非常感謝。

HTML:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Exchange Dynasty</title>
    <link rel="stylesheet" href="aboutus.css" />
</head>

<body>
    <section class="showcase">
        <header>
            <a href="/">
                <h2 class="logo">ITSupportKotlina</h2>
            </a>
            <div class="toggle"></div>
        </header>
        <div class="overlay"></div>
        <div class="text">
            <br /><br />
            <center>
                <h2>O nas!</h2>
            </center>
            <div class="container">
                <div class="row">
                    <div class="col-2">

                        <p>
                            Proponujemy kompleksow? obs?ug? informatyczn? dla mikro, ma?ych
                            i ?rednich przedsi?biorstw, szkó?, placówek medycznych i
                            instytuacji. Umo?liwiamy podpisanie umowy w ramach miesi?cznego
                            abonamentu lub zamówienia jednorazowej us?ugi w przypadku
                            potrzeby skorzystania z naszej pomocy.
                        </p>
                    </div>
                    <img src="10.png" width="700px" />
                    <div class="col-2">

                        <p>
                            Proponujemy kompleksow? obs?ug? informatyczn? dla mikro, ma?ych
                            i ?rednich przedsi?biorstw, szkó?, placówek medycznych i
                            instytuacji. Umo?liwiamy podpisanie umowy w ramach miesi?cznego
                            abonamentu lub zamówienia jednorazowej us?ugi w przypadku
                            potrzeby skorzystania z naszej pomocy.
                        </p>
                    </div>
                    <img src="10.png" width="300px" />
                </div>
            </div>
        </div>
    </section>
    <div class="menu">
        <ul>
            <li><a href="index.html">Home</a></li>
            <li><a href="aboutus.html">Terms</a></li>
            <li><a href="offer.html">Pricing</a></li>
            <li><a href="contact.html">Ticket</a></li>
        </ul>
    </div>

    <script src="script.js"></script>
</body>

</html>

CSS:

@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
}

header a {
    text-decoration: none;
}

.toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: url(https://i.ibb.co/C5dP44V/menu1.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
}

.toggle.active {
    background: url(https://i.ibb.co/CH3g5YL/close1.png);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center;
    cursor: pointer;
}

.showcase {
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: 0.5s;
    z-index: 2;
}

.showcase.active {
    right: 300px;
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    position: relative;
}

.menu ul li {
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 24px;
    color: #111;
}

.menu ul li a:hover {
    color: #03a9f4;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    mix-blend-mode: overlay;
}

.text {
    position: relative;
    z-index: 10;
}

.text h2 {
    font-size: 3em;
    font-weight: 800;
    color: #000;
    line-height: 1em;
    text-transform: uppercase;
}

.text h3 {
    font-size: 2em;
    font-weight: 700;
    color: #000;
    line-height: 1em;
    text-transform: uppercase;
}

.text p {
    font-size: 0.9em;
    color: #000;
    margin: 20px 0;
    font-weight: 400;
    max-width: 700px;
}

.text a {
    display: inline-block;
    font-size: 1em;
    background: #000;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    color: #fff;
    letter-spacing: 2px;
    transition: 0.2s;
}

.text a:hover {
    letter-spacing: 6px;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    max-width: 300px;
}

.col-2 {
    flex-basis: 50%;
    MAX-width: 300px;
}

.col-2 img {
    max-width: 100%;
    padding: 50px 0;
}

@media (min-width: 919px) {

    .showcase,
    .showcase header {
        padding: 40px;
    }

    .text h2 {
        font-size: 1em;
    }

    .text h3 {
        font-size: 1em;
    }

}

我找人可以幫我配置這個代碼。我想得到最終的響應頁面,可以顯示在每一個設備上,包括文本縮放到每一個屏幕大小。

當您將@media-query參數從& quot最小寬度:919像素到& quot最大寬度:919像素另一邊反應更快。你也應該考慮使用& quotrem & quot作為單位并更改& quotrem & quot像素大小在& quothtml { } & quotCSS-標簽與媒體查詢,以獲得最佳的響應設計。也考慮用scss或sass編程css,那么總覽就好得多了。