No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [Solved] How to best use "shadow css class" only on hover?

    Help
    2
    2
    1155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mesqueeb
      mesqueeb last edited by mesqueeb

      Hello community,

      http://quasar-framework.org/components/shadows.html
      I noticed there’s no shadow-hover-* classes.

      But there is a shadow-transition class. How to best set up the shadow only on hover?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Add css or a class:

        <style lang="styl">
        @import '~variables'
        .my-hover-shadow:hover
          box-shadow $shadow-1
        </style>
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post