javascript - How would you code this: The SO highlighted button outline effect -
I am a person who learns best from the example. Currently, I am diving in the field of web development after the development of desktop developers. I am still being used for all web technologies used for the development of modern web sites and everywhere I see, I see very few UI elements and they do not know how they apply. So I thought I'd like to ask you, the web experts ... Leopard :)
To some extent forward or constructively you coded the Highlight Button Framework Effect (shown below) You can ...
Feel free to provide example code or high level explanation, which includes various techniques (HTML, CSS, Javascript, etc.).
- How will CSS play a role in this?
- Can you use JQuery to implement it easily? GWT?
Thank you very much for all your help!
If you are talking about when you change the tabs when you rotate the mouse over them , Then it is done entirely with CSS. Using: To rotate the pseudo-square, the site sets the background to white, and turns the color of the border to black in three, and white at the bottom
How do I know this? The Firefox plugin allows you to easily inspect the DOM, debug JavaScript and view CSS styles for different page elements. For example, if you learn best, then firebug will be very helpful.
Specifically, the following relevant styles are: "#tabs a" element (anchors that are descended from the element "id" tab), in the following:
#tabs A: hover {background: #FFFFFF none repeat scroll 0 0; Border-color: # 777777 # 777777 #FFFFFF; Border style: solid; Border-width: 1px; } # Tab one {background: # IEEEEE repeatable scrolls 0 0; Limit: 1px solid #EEEEEE; }
(I can remember some of the changes that really matter, but these are the basics.
Comments
Post a Comment