D
D
Dmitry Anisimov2019-01-23 21:36:25
Windows Server
Dmitry Anisimov, 2019-01-23 21:36:25

I can not understand why the picture is not connected?

help me please!! always managed to connect her
patience already at the limit

#menu-button {
    background: url('../img/Hamburgericon.png');
    width: 32px;
    height: 32px;
    cursor: pointer;
}

<div id="menu-button"></div>
here is a picture with the location and folder where the file is located
5c48b40db614d535174276.png5c48b426d9266900611815.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Zabelin, 2016-07-08
@stecker

Specify ns.contoso.ru as the conditional forwarder for the contoso.ru domain.

I
iDomanOff, 2019-01-24
@iDomanOff

Is there a block on the page? look in the element's code

D
Dmitry Polushkin, 2019-01-24
@MAID

<!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>
    <style>
        .burger-icon {
            background-image: url('img/hamburger0.png');
            background-repeat: no-repeat;
            background-position: 50% 50%;
            width: 35px;
            height: 40px;
        }
    </style>
</head>
<body>
    <nav class="page-nav">
        <div class="burger-icon"></div>
    </nav>
</body>
</html>

For example.
I would recommend making small decorative elements through the tag . Then you need to add display: block to .burger-icon; because sleep lowercase. <span>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question