HM-80. Добавил аватар с кнопкой (#43)

This commit is contained in:
Михаил
2020-08-02 01:03:15 +03:00
committed by GitHub
parent 728e530d3d
commit 3009e415cf
2 changed files with 14 additions and 2 deletions

View File

@ -24,6 +24,8 @@
<div class="collapse navbar-collapse ml-5" id="navbarNavDropdown">
<ul class="navbar-nav"></ul>
</div>
<div class="Avatar"></div>
<button type="submit" class="btn btn-outline-dark text-light ml-1">Выйти</button>
</nav>
</template>
@ -403,4 +405,4 @@
</body>
</html>
</html>

View File

@ -27,4 +27,14 @@
align-items: center;
justify-content: center;
}
}
}
.Avatar {
border-radius: 50%;
background-image: url('https://d5qmjlya0ygtg.cloudfront.net/569/c5295/f9ad/47c8/96a0/66a65609b38d/original/331698.jpg');
background-repeat: no-repeat;
background-position: center;
background-origin: border-box;
width: 50px;
height: 50px;
background-size: cover;
}