Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8773523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:18:59+00:00 2026-06-13T18:18:59+00:00

It seems that applying the same CSS transform on hover to an HTML or

  • 0

It seems that applying the same CSS transform on hover to an HTML or SVG element does not create the same effect. As you can see in the following fiddle, the p and rect do not behave the same way while scaling, and that is precisely my problem.

http://jsfiddle.net/rKD7T/2/

How could I make the rect behave exactly as the p and scale properly?

I tried scaling the rect with a matrix – taking into account the origin point – but it did not seem to work either, or I did it wrong.

I’d like to stick to CSS solutions here but JS ones might also be an option.

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:19:01+00:00Added an answer on June 13, 2026 at 6:19 pm

    This seems about right.

    <div>
        <p></p>
        <p></p>
        <p></p>
        <p></p>
    </div>
    
    <svg>
        <g transform="translate(20, 40)">
        <rect x="-20" y="-40" width="50" height="100"/>
        <g transform="translate(55, 0)" >
        <rect x="-20" y="-40" width="50" height="100"/>
        </g>
        <g transform="translate(110, 0)" >
        <rect x="-20" y="-40" width="50" height="100"/>
        </g>
        <g transform="translate(165, 0)" >
        <rect x="-20" y="-40" width="50" height="100"/>
        </g>
        </g>
    </svg>
    

    It works in Firefox trunk but doesn’t seem to work with Firefox 16. I haven’t tested Firefox Beta or Aurora to see in exactly when it’s fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems that we can show layers and even use a different zPosition for
It seems that JavaScript's Date() function can only return local date and time. Is
It seems that it is not advisable to use <meta http-equiv=REFRESH CONTENT=3;url=url> for redirects
It seems that css animations on firefox are pixelating the edges of elements: Here
I know HTML is not a programming language and so applying Object Oriented principles
It seems that even when using shivs you can't do something like input[type=search] to
I'm trying to create a 3D transform effect where a <div> folds into an
Question In Django, how can create a single cached version of a page (same
I am having an issue with applying a class to an HTML element. It
Ok, so I want to have a report that does not require the end

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.