- 16.07.2024
- 18
- 7
Вот думаю позаниматься этим сегодня)Пробовать к Solution адаптировать..![]()
![]()
Только разобраться осталось почему шаб сьезжает)
Вот думаю позаниматься этим сегодня)Пробовать к Solution адаптировать..![]()
![]()
@Павел Брашкин, Все вроде бы нормально.
Посмотреть вложение 6476
Сюда делать - смысла нет. Картинка будет слишком маленькая.
Посмотреть вложение 6477
Ну cover, если. 100 и 100 выставить, то картинка узкая.Посмотреть вложение 6486
Такое качество из-за отдаления
@Павел Брашкин, Все вроде бы нормально.
Посмотреть вложение 6476
Сюда делать - смысла нет. Картинка будет слишком маленькая.
Посмотреть вложение 6477
не поделишься кодом пожалуйста где сверху баннер?)
а то чет сделала себе адаптацию так когда другие смотришь профили то не видно)
style="position: relative; height: 200px; background: url(../{cover}) no-repeat; background-size: cover; background-position: center; border-radius: 12px 12px 0 0;"
Код:style="position: relative; height: 200px; background: url(../{cover}) no-repeat; background-size: cover; background-position: center; border-radius: 12px 12px 0 0;"
<style>
.prof_r {
display: flex;
flex-direction: column;
position: absolute;
margin-top: 83px;
margin-left: -26px;
justify-content: space-between;
align-items: flex-end;
}
.flex_user_info {
display: flex;
position: absolute;
font-weight: bold;
flex-direction: column;
line-height: 18px;
margin-left: 89px;
margin-top: 3px;
}
.prof_r_top {
position: static;
margin-left: 32px;
display: flex;
gap: 10px;
}
.block-profile-stats {
display: flex;
flex-wrap: nowrap;
border-radius: 13px;
transform: skewX(348deg);
gap: 7px;
justify-content: space-between;
margin-bottom: 13px;
align-items: center;
}
.info_user_profile {
color: #87879d;
position: absolute;
margin-top: 42px;
margin-left: 34px;
font-weight: bold;
transition: 0.2s;
font-size: 11px;
border-bottom: dashed 0px #87879dd6;
}
.left_profile {
border-radius: 20px;
padding: 20px;
background-size: cover;
display: flex;
justify-content: space-between;
}
</style>
там прикол в чемНу и позиция значков:<style> .prof_r { display: flex; flex-direction: column; position: absolute; margin-top: 83px; margin-left: -26px; justify-content: space-between; align-items: flex-end; } .flex_user_info { display: flex; position: absolute; font-weight: bold; flex-direction: column; line-height: 18px; margin-left: 89px; margin-top: 3px; } .prof_r_top { position: static; margin-left: 32px; display: flex; gap: 10px; } .block-profile-stats { display: flex; flex-wrap: nowrap; border-radius: 13px; transform: skewX(348deg); gap: 7px; justify-content: space-between; margin-bottom: 13px; align-items: center; } .info_user_profile { color: #87879d; position: absolute; margin-top: 42px; margin-left: 34px; font-weight: bold; transition: 0.2s; font-size: 11px; border-bottom: dashed 0px #87879dd6; } .left_profile { border-radius: 20px; padding: 20px; background-size: cover; display: flex; justify-content: space-between; } </style>
Хм, сейчас у себя проверю.Ну и позиция значков:<style> .prof_r { display: flex; flex-direction: column; position: absolute; margin-top: 83px; margin-left: -26px; justify-content: space-between; align-items: flex-end; } .flex_user_info { display: flex; position: absolute; font-weight: bold; flex-direction: column; line-height: 18px; margin-left: 89px; margin-top: 3px; } .prof_r_top { position: static; margin-left: 32px; display: flex; gap: 10px; } .block-profile-stats { display: flex; flex-wrap: nowrap; border-radius: 13px; transform: skewX(348deg); gap: 7px; justify-content: space-between; margin-bottom: 13px; align-items: center; } .info_user_profile { color: #87879d; position: absolute; margin-top: 42px; margin-left: 34px; font-weight: bold; transition: 0.2s; font-size: 11px; border-bottom: dashed 0px #87879dd6; } .left_profile { border-radius: 20px; padding: 20px; background-size: cover; display: flex; justify-content: space-between; } </style>
там прикол в чем
Видно баннер а вот аватарку и все остальное нет)