@htmlclassic

Какой тег и класс для этого элемента?

61236cbc38a9f128220380.png

По-моему там идет заголовок и сабтайтл, а сверху, что это?)
  • Вопрос задан
  • 65 просмотров
Пригласить эксперта
Ответы на вопрос 1
Классы указывайте согласно Вашему style guide или согласно БЭМ. А по вёрстке так:
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        * {
            box-sizing: border-box;
        }

        div {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            margin: 0 auto;
            width: 300px;
            height: 35px;
            border-radius: 18px;
            background: #e9e9e9;
        }

        img {
            padding: 8px;
            width: 35px;
            height: 35px;
            border-radius: 16px;
            background: orange;
        }

        h4 {
            padding-right: 45px;
        }
    </style>
</head>

<body>
    <div>
        <img
            src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuY29tL3N2Z2pzIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgeD0iMCIgeT0iMCIgdmlld0JveD0iMCAwIDUxMS45OTgyOCA1MTEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJzdXJmYWNlMSI+CjxwYXRoIGQ9Ik0gNTExLjgzOTg0NCAyMjYuNzgxMjUgTCA1MTEuODM5ODQ0IDIyNi43NzczNDQgQyA1MTEuMDAzOTA2IDIxOC44MDA3ODEgNTA2Ljg3MTA5NCAyMTEuNDQ5MjE5IDUwMC41MDM5MDYgMjA2LjU3ODEyNSBMIDQ3MS4zNjMyODEgMTgzLjg5MDYyN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MDcwMzEyIDIxMC44MjgxMjUgMjk0LjIxMDkzOCAyMTYuNjkxNDA2IFogTSAyOTQuMjEwOTM4IDIxNi42OTE0MDYgIiBzdHlsZT0iIiBmaWxsPSIjZmZmZmZmIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iIj48L3BhdGg+CjwvZz4KPC9nPjwvc3ZnPg==" />
        <h4>#1 Editiors Choice App of 2020</h4>
    </div>
</body>

</html>
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы