SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: making it fade?

  1. #1
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    making it fade?

    I have been trying to make a border fade with CSS.

    At the moment I was just using .border {border-right:solid 1px #000;} but basically want to know if there is a CSS property to somehow make that fade to say white and from say top to bottom (on a vertical border). I have been mucking about with things like bg-light-source and 1 pixel wide TD's and stuff, but can't seem to find the right effect.

    Is this possible?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  2. #2
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's probably possible using IE's filters, but those aren't part of the standards. Unfortuantely there is no way of setting a border to fade in standard CSS - the nearest you are going to get to being able to do that is using a CSS a background image but those can only be applied to a box and not an individual border. You could use that effect to get a single edge of the box to fade but it wouldn't allow you to get more than one border to fade (unles you fix the width / height of the box or use multiple boxes to achieve the effect).


Bookmarks

Posting Permissions

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