CSS to create overlapping profile images

Great job. It looks really nice too!

Neat :wink:

Oh wow, simply gorgeous!

A doubt arose, you said you were planning to update your app in glide template store, but once we cannot use any code inside of it, can we when it’s an update?

Hm. Good pt. Glide doesn’t want templates with CSS because it’s confusing to new Glide users. Maybe if it’s well documented in your template instructions and it doesn’t impact the functionality or significantly alter the layout of the app…

Thanks! I should mention that we should use the horizontal, circular tile layout, 4 tiles wide to get the same effect.

has something changed?
The border works perfectly, but the overlapping is not working anymore.
Can you please help?

Hi, @Robert_Petitto ! :blush:

When I saw this, I was very surprised to see how CSS can be used to create such a function.

At the same time, I thought…

I was wondering if it’s possible to make the white border a gradient like in the picture? If so, can you teach me how to do that? :blush:

Hola @Anna-1

.tile-inner {
width: 80px;

.tile-image-area {
border: solid 5px red;
border-radius: 50%;
box-shadow: inset 0px 0px 0px 10px red;

.inner {
grid-template-columns: repeat(5, 55px) !important;

have you tried changing the color from white to whatever color you need?

Screen Shot 2021-06-30 at 1.08.29 PM


Hola @Harsh
I believe you need to set the orientation of your inline list, tile layout to Horizontal.

I may be wrong.


Correct. Layout needs to be horizontal for it to work. You can set the border radius to whatever you’d like. You can even use the color ‘transparent’ so that way it works well with both light and dark theme.


Thank you @SantiagoPerez @Robert_Petitto !

I was able to add some color too.

スクリーンショット 2021-07-01 17.36.34

But I can’t get the gradient border like in the Instagram stories :sweat:
Is there any way to make this border a gradient?

1 Like

I don’t have the right hex codes for the border here, it seems like this code is old and I can’t derive it from the site itself but you can use some trial and errors to figure out all the colors.


.tile-inner {
padding: 5px 0px;

.tile-image-area {
border-radius: 50%;
box-shadow: inset 0px 0px 0px 10px white;

.tile-image-area:before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -4px; 
    border-radius: inherit;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);

Thank you @ThinhDinh :blush:

That was so awesome, I’m so impressed :joy:
It’s exactly what I’ve been wanting. Thank you so much!!


Hehe, it looks great on the “empty” profile as well.


is it possible to make the whole thing a lot smaller so it will show for example who else liked a post ?

Check this post:

1 Like

This is just amazing. I am literally just getting started trying to just set up basics for a house system with my gifted students. Do you have any turorials?

1 Like

I have a gamification tutorial on YouTube and here…but it’s probably overkill.

Most excellent! I am doing a house system and want to set it up like yours. I didn’t even consider the ranking you have on the first page of the app. I have a spreadsheet for the students to get points but hoping to level up to what you have.