i am wondering how to create this kind of shape using CSS only. I have looked up on the internet but didn’t find the kind of shape i am looking for. Can somebody help me out how to create this shape using CSS3 and place the content inside of it?
Is there any reason for you to not use an image? What happens if you get the perfect shape and then a user decides that his font isn’t quite big or small enough and changes it? It’ll distort the perfect circle by making it too tall.
You can’t. Especially with that much text. The shape will be distorted at some screen size. If you do go this route, it will be very flimsy. Again, I’m not sure why you don’t just use an image. Universally supported and more stable.
I mean I guess you could give a scrollbar if text tries to escape but c’mon…
am sure with quite a bit of work you could do it. (if this guy can do this http://codepen.io/natewiley/pen/yyXpVm) i think your sigil is duable.
but probab not worth all the trouble.
D
There’s a different between a static shape and a dynamic shape (shape with content in it.) The CSS Tricks link only focuses on shapes, not allowing for content.
The game changes once you add content in it.
That’s a cool codepen though. Without the JS though it’s rather simple.
yes. the content would complicate things.
i think if you really REALLY wanted to you could use some code to change the content to fit.
either eliminate words and shorten the message or make the text so small eventually it’d be ridiculous.
So yeah…more of a fun thing. But i’d just use the image instead.
You can definitely do this with CSS3, but it’s messy. There days, the hotness is to do it with SVG, which can even include the text (which can also be accessible to screen readers etc.).