CSS3 PIE Forums
http://css3pie.com/forum/

Transparent border
http://css3pie.com/forum/viewtopic.php?f=4&t=1493
Page 1 of 2

Author:  SkuterPL [ Fri Jan 27, 2012 5:46 am ]
Post subject:  Transparent border

Hello,
How should I do transparent border?
In CSS 3 I did "border: 1px solid rgba(0,0,0,0.3);"
I tried to do:
"-pie-border: 1px solid rgba(0,0,0,0.3);"
but didn't work.
Some idea?

Author:  jason [ Fri Jan 27, 2012 9:34 am ]
Post subject:  Re: Transparent border

RGBa colors are not (yet) supported by PIE: https://github.com/lojjic/PIE/issues/55

Author:  SkuterPL [ Fri Jan 27, 2012 9:38 am ]
Post subject:  Re: Transparent border

so do you have any idea how it does?

Author:  jason [ Fri Jan 27, 2012 9:45 am ]
Post subject:  Re: Transparent border

Sorry I don't understand your question. Do I have any idea how what does what?

Author:  SkuterPL [ Fri Jan 27, 2012 9:51 am ]
Post subject:  Re: Transparent border

what should I do to obtain transparent in border?

Better? :)

Author:  jason [ Fri Jan 27, 2012 3:01 pm ]
Post subject:  Re: Transparent border

Thanks for clarifying. My original answer was attempting to tell you that, as far as I know, there is no way to do this.

Author:  jason [ Fri Jan 27, 2012 3:03 pm ]
Post subject:  Re: Transparent border

That said, you might be able to achieve a similar effect by not using a border, but using a box-shadow with a positive spread value instead. That usually results in something that looks just like a solid border, and as long as you don't specify a blur radius you can use an rgba color there.

Author:  SkuterPL [ Fri Jan 27, 2012 3:37 pm ]
Post subject:  Re: Transparent border

box-shadow it looks diffrent, but I will check it tomorrow, do you plan add rgba for border? because i bacground it wokrs, maybe this same function you can use to border?

Author:  jason [ Fri Jan 27, 2012 4:31 pm ]
Post subject:  Re: Transparent border

Please see the ticket I linked to for discussion on possible implementation. I haven't given any more consideration than what is discussed there.

Author:  fitnessfactor21 [ Wed Feb 01, 2012 3:19 pm ]
Post subject:  Re: Transparent border

Thanks for the link, I had basically the same question.

Page 1 of 2 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/