[Solved] Borders en ccs

0

I have integrated an CSS and HTML to enlarge an image withing a question field by hovering with a mouse. It works perfect. However the enlargement is limited by the borders of the question field and other images on the field. When the enlargement meets the borders it only shows the part within the border. Is there code to avoid this?

Ab Kragtwijk asked

    Best answer

    0

    Hi Ab!

    You will want to investigate the `overflow` property of any parent elements of your image. Specifically, I believe `div.sg-question` may have its `overflow` property set to `hidden`.

    https://developer.mozilla.org/en-US/docs/Web/CSS/overflow

    If you are unsure how to do this, I highly recommend learning about your browser’s “developer tools”, which allow for interactive exploring the “document object model” (fancy name for the rendered HTML on a webpage). You can learn more about these tools from this wonderful resource by the Mozilla Developer Network:

    https://developer.mozilla.org/en-US/Learn/Discover_browser_developer_tools

    As an aside, you will generally get a better response to questions such as this if you post the HTML and CSS you are trying to modify the behavior of.

    I hope this helps!

    Nathan - Survey Astronaut answered
      ×

      Login

      Question stats

      • Active
      • Views353 times
      • Answers1 answer
      • Followers0 followers