Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Use CSS for button style and use different functionality for Hover, Color and background?
Question Posted on 12 Feb 2022

Home >> Style Sheet >> CSS >> Use CSS for button style and use different functionality for Hover, Color and background?




Use CSS for button style and use different functionality for Hover, Color and background?
Here i have used different CSS rules to design button shapes color and hover functionality. I have start with first create a button in .html page as given below.



HTML Button

As in above HTML code we use class button and i have define the CSS rule either on .css file or inline CSS which is placed on .HTML page. Below are the different design and CSS rules.

(1)First CSS code to display Button on Page



Simple Button

(2)Second CSS to display button with background color

Button backgroundcolor

(3)Third CSS to display button with background and Text with border of button


Button background

(4)Fourth CSS to display button with Background and Text without border


Button round corner

(5)Fifth Button with Round radius to corner


Button corner

(6)Sixth round corner button


Button corner

(7)Seven Use Hover function on mouse hover to button


Button hover css

(8)Eight Use tab key to focus on button


Button tab focus css

(9)Ninth is auto focus on the button



Button css focus

So above all method helps you to design your button with css
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following property of a anchor element signifies unvisited hyperlinks?
Among the following types of style rules, ____ has the highest priority.
How to set colour of link with CSS
In CSS, you can override precedence rules by adding the ____ property to a style declaration.
The style rule li, em {color: blue} indicates the content of ____ will appear in blue color.






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |