Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

TIP: Getting to Know Box Shadow CSS

Over the past couple of weeks, I've had several other NCs ask me about CSS3 Box shadows, so i figured I'd give you all a few pointers I've learned over the past couple of years.

Understanding Values

Take a look at this example:

box-shadow: 3px 3px 10px 5px #000;

 

  • A positive value for the horizontal offset draws a shadow that is offset to the right of the box, a negative length to the left.
  • The second length is the vertical offset. A positive value for the vertical offset basically offsets the shadow down, a negative one up.
  • You’re not allowed to use negative values for blur radius. The larger
    the value, the more the shadow’s edge is blurred, as it can be seen above.
  • Spread distance positive values cause the shadow shape to expand in all directions by the specified radius.
  • Negative ones cause the shadow shape to contract.
  • The color is the color of the shadow.
  • The inset keyword (missing above), if present,changes the drop shadow from an outer shadow to an inner shadow

There are tons of Box Shadow Generators out there to help you with getting your box shadow just right, but i thought it might be helpful to understand the values being used.

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • Thanks for this tip. My head doesn't hurt anymore trying to figure this out. lol.

    • NC for Hire

      terrific!  this was the goal...glad you're getting some use of this tip!

  • You made this so simple! Thanks!

  • this should work with 3.0 

  • How would I put that in my NING 3.0 what would be the code?  I am using rounded corners

  • So far it will only  let me do it to buttons

    • NC for Hire

      did you get it rockin yet?

      • Nope  thanks. Not sure if cause I have  floating social media side bar, and  site curser .hmm Thanks

      • http://blackmoonsociety.ning.com/ this is my site.  I have a bit of code only does buttons if I add anything else no work

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Paul Corona replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"NING support is useless anymore...I have respnded three times asking questins to a message they…"
Jan 15
Alex - Rosas † Negras posted a discussion
due to personal problems I have not been online anymore, I apologize so much and I am happy to be…
Jan 14
Alex - Rosas † Negras replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"IL PROBLEMA È SEMPRE LO STESSO, NING GLI OPERATORI... DEVONO ELIMINARE I COOKIE SUL VOSTRO SITO"
Jan 14
Vlada replied to Kos's discussion
Help w/Chat. Ning Support A No Go
"I'm no IT expert by any means, but out of curiosity have you tried entering the chat room from the…"
Jan 8
Vlada replied to Eva Libre's discussion
Update, Merry Christmas
"Then add the recent price hike email that Ning has notified to be taking effect soon, I'm not…"
Jan 8
Kos posted a discussion
In November we began to notice Chat "freezing up" and when we would refresh the page, it would…
Dec 27, 2024
Eva Libre posted a discussion
UpdateMerry ChristmasToday I woke up totally frustrated and determined to do something.At the end…
Dec 26, 2024
Eva Libre liked Eva Libre's discussion Ning 3.0 is antisocial!
Dec 25, 2024
Eva Libre updated their profile
Dec 25, 2024
Eva Libre replied to Eva Libre's discussion
Ning 3.0 is antisocial!
"Update
Merry Christmas
Today I woke up totally frustrated and determined to do something.
At the…"
Dec 25, 2024
Pam Givens replied to Pam Givens's discussion
Landing Page
"What I meant to say, if I could spell:
I've attempted to create a landing page and have't had much…"
Dec 12, 2024
Pam Givens posted a discussion
I've attempted to crate a landing page and have't had much success.  I'd rather have one on my…
Dec 12, 2024
More…

Meanwhile, you can check our social media channels