Skip to content

Instantly share code, notes, and snippets.

@TomQDRS
Created July 16, 2025 21:24
Show Gist options
  • Save TomQDRS/fff53b739d707ae604b970b36eb02921 to your computer and use it in GitHub Desktop.
Save TomQDRS/fff53b739d707ae604b970b36eb02921 to your computer and use it in GitHub Desktop.
Grindr Chat
<grindr>
<right>Hi!</right>
<right>How's it going?</right>
<left>hey</left>
<left>good hbu</left>
<right>Yeah pretty good. What are you looking for on here?</right>
<left>not much hbu</left>
<right>... yeah not much either</right>
</grindr>
:root {
--grindr-blue: #68cefe;
--grindr-orange: #ffcd1d;
--grindr-text: #181700;
background-color: #000000;
}
grindr {
display: flex;
flex-flow: column nowrap;
gap: 20px;
font-family: "Roboto", "Helvetica Neue", sans-serif;
font-size: 14px;
line-height: 1.4;
--tail-size: 10px;
}
grindr left,
grindr right {
position: relative;
padding: 10px 14px;
color: var(--grindr-text);
}
grindr left {
align-self: flex-start;
background-color: var(--grindr-blue);
border-radius: 8px 8px 8px 0;
margin-left: var(--tail-size);
}
grindr left::before {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 0;
border: var(--tail-size) solid transparent;
border-right-color: var(--grindr-blue);
border-left: 0;
border-bottom: 0;
margin-left: calc(var(--tail-size) * -1);
}
grindr right {
align-self: flex-end;
background-color: var(--grindr-orange);
border-radius: 8px 8px 0 8px;
margin-right: var(--tail-size);
}
grindr right::after {
content: "";
position: absolute;
right: 0;
bottom: 0;
width: 0;
height: 0;
border: var(--tail-size) solid transparent;
border-left-color: var(--grindr-orange);
border-right: 0;
border-bottom: 0;
margin-right: calc(var(--tail-size) * -1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment