Added radius values for avatar
This commit is contained in:
parent
9923aa2ce3
commit
2f4231107d
3 changed files with 36 additions and 0 deletions
|
@ -194,3 +194,15 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
/* Radius values:
|
||||||
|
|
||||||
|
10%-40%: Squircles
|
||||||
|
50% (default): True circle
|
||||||
|
*/
|
||||||
|
.avatar {
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
object-fit: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
|
@ -194,3 +194,15 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
/* Radius values:
|
||||||
|
|
||||||
|
10%-40%: Squircles
|
||||||
|
50% (default): True circle
|
||||||
|
*/
|
||||||
|
.avatar {
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
object-fit: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
|
@ -194,3 +194,15 @@ hr {
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-top: 1px solid #e1e1e1;
|
border-top: 1px solid #e1e1e1;
|
||||||
}
|
}
|
||||||
|
/* Radius values:
|
||||||
|
|
||||||
|
10%-40%: Squircles
|
||||||
|
50% (default): True circle
|
||||||
|
*/
|
||||||
|
.avatar {
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
object-fit: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
Loading…
Reference in a new issue