Skip to content

Commit 2f42311

Browse files
committed
Added radius values for avatar
1 parent 9923aa2 commit 2f42311

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

css/skeleton-auto.css

+12
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,15 @@ hr {
194194
border-width: 0;
195195
border-top: 1px solid #e1e1e1;
196196
}
197+
/* Radius values:
198+
199+
10%-40%: Squircles
200+
50% (default): True circle
201+
*/
202+
.avatar {
203+
width: 128px;
204+
height: 128px;
205+
object-fit: cover;
206+
background-position: center;
207+
border-radius: 50%;
208+
}

css/skeleton-dark.css

+12
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,15 @@ hr {
194194
border-width: 0;
195195
border-top: 1px solid #e1e1e1;
196196
}
197+
/* Radius values:
198+
199+
10%-40%: Squircles
200+
50% (default): True circle
201+
*/
202+
.avatar {
203+
width: 128px;
204+
height: 128px;
205+
object-fit: cover;
206+
background-position: center;
207+
border-radius: 50%;
208+
}

css/skeleton-light.css

+12
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,15 @@ hr {
194194
border-width: 0;
195195
border-top: 1px solid #e1e1e1;
196196
}
197+
/* Radius values:
198+
199+
10%-40%: Squircles
200+
50% (default): True circle
201+
*/
202+
.avatar {
203+
width: 128px;
204+
height: 128px;
205+
object-fit: cover;
206+
background-position: center;
207+
border-radius: 50%;
208+
}

0 commit comments

Comments
 (0)