Results 1 to 2 of 2

Thread: How to change button on hover styles ?

  1. #1

    Default How to change button on hover styles ?

    Hello,
    I try to change CSS for button when the mouse hover it. So to do that, I add a cls:class_name config and in scss aded css code.

    code like this:
    Code:
    .class_name{
     background_color: red; 
    }
    but this one:
    Code:
    .x-btn-over.class_name{
    background-color:blue;
    }
    or this not working:
    Code:
    .class_name:hover{
    background-color:blue;
    }
    what is wrong ?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I'm not sure I understand the question. What are you looking to do that the first method doesn't accomplish?

Similar Threads

  1. Ext.button hover style
    By simone dalmasso in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 22 Oct 2010, 6:03 AM
  2. Change Menu color on Hover
    By waderironman in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 13 May 2009, 11:56 AM
  3. change row color on hover in grid
    By lvanderree in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 1 Oct 2007, 12:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •