Quantcast
Viewing latest article 2
Browse Latest Browse All 10

inner color of div like shadow

just dropping this coz it costed me an hour to find out:

my div had inside always the same color as the shadow, made me crazy.

I was correctly using .sb-inner but it had no effect. turns out, you always have to specify corner, like this:

var shadowedBorder = RUZEE.ShadedBorder.create({ corner:1, shadow:16 });

if you just write

var shadowedBorder = RUZEE.ShadedBorder.create({ shadow:16 });

then the box will always have the color of the shadow.

have a good day.

great library btw!! :-)


Viewing latest article 2
Browse Latest Browse All 10

Trending Articles