Jump to content

Till

Members
  • Posts

    1
  • Joined

  • Last visited

Previous Fields

  • Languages
    HTML, CSS

Profile Information

  • Gender
    Not Telling
  • Interests
    Drupal

Till's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hello, I want to realize a website attracting with a visual gimmick: Selected elements have reactive shadows based on CSS3. My idea: If you move the cursor, the elements' shadows change related to the cursor. That means the cursor works like a light or torch and live influences the text-shadow value(s). Is it possible to realize this kind of dynamic and reactive shadow with CSS3 or do I need to use both CSS3 and JavaScript? For instance, moving the cursor would change a div's text-shadow values from div { text-shadow: 5px 5px 10px #000000; } to div { text-shadow: 2px 10px 10px #000000; } . Any idea how to realize this?
×
×
  • Create New...