/
githubmirror
/
element
Обзор
Документация
Войти
/
githubmirror
/
element
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
examples/demo-styles/avatar.scss
62 строки
994 B
luckyCao
Avatar: Add avatar component (#16144)
24 июн 2019, 11:37
24 июн 2019, 11:37
6f9ce3a
Код
Авторство
О чём код?
.demo-avatar { &.demo-basic { text-align: center; .demo-basic--circle, .demo-basic--square { display: flex; justify-content: space-between; align-items: center; .block { flex: 1; } .block:not(:last-child) { border-right: 1px solid rgba(224, 230, 237, 0.5); } } } .sub-title { margin-bottom: 10px; font-size: 14px; color: #8492a6; } .el-col:not(:last-child) { border-right: 1px solid rgba(224,230,237,.5); } .demo-type { display: flex; >div { flex: 1; text-align: center; } >div:not(:last-child) { border-right: 1px solid rgba(224,230,237,.5); } } .demo-fit { display: flex; text-align: center; justify-content: space-between; .block { flex: 1; display: flex; flex-direction: column; flex-grow: 0; } .title { margin-bottom: 10px; font-size: 14px; color: #8492a6; } } }