Home>

I'd like to make "Consultation/Inquiry here" white text
It remains black.
Thank you very much.

<! DOCTYPE html>
<html lang = "en">
    <head>
        <meta charset = "utf-8">
        <title>JokerPiece-Honyahonyai</title>
        <meta name = "UltraSoul" content = "I will try anything that seems to be fun.
    <!-CSS->
        <link rel = "stylesheet" href = "https://unpkg.com/ress/dist/ress.min.css">
        <link href = "https;// fonts.googleapis.com/css?family=Philosopher" rel = "stylesheet">
        <link href = "css/style.css" rel = "stylesheet">
        <link rel = "icon" type = "img/png" href = "img/favicon.png">
    </head>
    <body>
        <header>
                
            <nav>
                <ul>
                    <li>What is "Honyahonyai"</li>
                    <li>Main features</li>
                    <li>Development areas</li>
                    <li>Contact us here</li>
                </ul>
            </nav>
        </header>
    </body>
</html>
@ charset "UTF-8";
/* common part 
------------------------------------- * /
html {
    font-size: 100%;
}
body {
    font-family: "Yu Gothic Medium", "游 Gothic Medium", YuGothic, "游 Gothic", "Hiragino Kaku Pro W3", sans-serif;
    line-height: 1.7;
    color: # 432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.logo {
    width: 210px;
    margin-top: 14px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: # 432;
}
.main-nav a: hover {
    color: # 0bd;
}
.page-header {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}
.button {
    font-size: 1.375rem;
    background: # 216583;
    color: #fff;
    border-radius: 5px;
}
.button: hover {
    background: # de9a7c;
}
  • Answer # 1

    The HTML and CSS presented at the moment are white characters without any problems.
    F12 → Update button right click → If there is no improvement even after clearing the cache and reloading the hardware, there may be a problem with other CSS.
    Let's paste everything without omission.

    ]


    After adding the presented CSS, it looks like ↓, so the text color is set in a different place


    . button {
        font-size: 1.375rem;
        background: # 216583;
        color: #fff! important;/* Priority * /
        border-radius: 5px;
    }

    How about this?
    It can be solved immediately by checking with the developer tool.
    You can leave it open while editing CSS.