The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › aligned text with background shape
just try to aligned the text with the shape of background.. just like this Image. don’t want to put margin-left all the time.. any easiest way to do that?
codepen link: https://codepen.io/Phe0nix/pen/jmepGE
Hey Prenab,
You can achieve this with css shapes. an article: https://www.html5rocks.com/en/tutorials/shapes/getting-started/
However, It’s not supported on Firefox.