Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder LearningCoder's Avatar
    Join Date
    Jan 2011
    Location
    The Pleiades
    Posts
    920
    Thanks
    76
    Thanked 29 Times in 29 Posts

    Adding a horizontal gradient to box-shadow

    Good evening all,

    Can't really say much more, I've attached an image of what I need to achieve and can't seem to find anything on the net, need some advice.

    Is it possible to achieve the effect in the image and is using box-shadow on a div correct or is there a standard alternative?

    Thanks for your time.

    Kind regards,

    LC.
    Attached Thumbnails Attached Thumbnails Adding a horizontal gradient to box-shadow-icool-website.jpg  

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello LearningCoder,
    I would think you'd just want to find an image that would work for that.

    You could look into CSS3 Gradients, maybe you can come with the effect that way.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •