Jump to content
Search Community

Search the Community

Showing results for tags 'css cssrule'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi, I wanted to use CSSRule plugin to tween some pseudo elements on my webpage. I'm using SASS to write my CSS. My target looks like this : .home, .home.do-not-anim{ #container{ &:before{....} } } and my rule like this : var rule = CSSRulePlugin.getRule(".home #container:before"); I saw that the rule must match the exact rule of CSS. So i tried to change it with : var rule = CSSRulePlugin.getRule(".home #container:before, .home.do-not-anim #container:before"); But the result is always the same : CSSRulePlugin.min.js:12 Uncaught TypeError: Cannot read property 'length' of null I even try to simplify the rule at it's maximum, like this : var rule = CSSRulePlugin.getRule("#container"); witch is an existing rule in my CSS, but still, Uncaught TypeError...... Result is the same when i copy paste the rule in the console... Did i miss something ??
×
×
  • Create New...