Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
cst199220556y@Alice let me try:
#Moustache {
position: absolute;
text-align: center;
bottom: 0;
}
...aaand, who knew this editor removes leading spaces????!!! -
@Alice @cst1992 The container needs to have the text alignment set to center, not the child.
If we're setting the moustache to the bottom via absolute/ fixed/ relative positioning, text alignment and margins will not work anyways.
Go figure, this is actually fairly difficult to do with CSS. At least before the age of Flex displays.
CSS never disappoints 😆
joke/meme