CSS can do this:

http://www.gesteves.com/experiments/starwars.html

I have a web2py app so you can write your own text. Will post it soon.

On 12 Ago, 19:41, weheh <[email protected]> wrote:
> Fascinating! I never thought CSS could do that. However, I wouldn't be
> so quick to jump on the bandwagon. In practice, they don't seem work
> so well, although it's possible I'm not using it as intended. For
> instance, DIV shapes that are inlined will not display properly. I'm
> sure there are many other pathological cases, given how wretchedly
> difficult it is to control CSS at times. My 2 cents: don't waste your
> time.
>
> On Aug 12, 8:03 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > So... a plugin_shapes which contains a CSS file?
>
> > On 12 Ago, 15:18, Cliff <[email protected]> wrote:
>
> > > #triangle-right {
> > >         width: 0;
> > >         height: 0;
> > >         border-top: 50px solid transparent;
> > >         border-left: 100px solid red;
> > >         border-bottom: 50px solid transparent;
>
> > > }
>
> > > <script>
> > > $('#triangle-right').click(function(){
> > >   do_stuff();
>
> > > })
>
> > > On Aug 12, 3:17 pm, Massimo Di Pierro <[email protected]>
> > > wrote:
>
> > > >http://css-tricks.com/examples/ShapesOfCSS/?=derp

Reply via email to