Introduction

In this article, we will learn how to create an interactive round button menu using HTML5 and CSS tools. Now we will also learn how to set an image background in an interactive round button menu page using a CSS. We will begin with a small discussion of HTML. HTML is an acronym for "HyperText Markup Language" used to display data in a browser. HTML5 is an advanced version of HTML used to develop multimedia and animated applications. In an article we used a CSS part; CSS is a "Cascading Style Sheet" used for design purposes in applications. I hope this article helps to show how to create interactive round button menus using HTML5 and CSS tools. If you are interested in developing interactive round button menu applications then go through the following steps.
Step 1: Open Visual Studio.
new.gif
webapplication.gif
Step 2: Add an HTML file to your web application.
css.gif
html.gif
Step 3: In this step, we add a CSS file named StyleSheet3.css. In the CSS we set font-family, font-size, position, height, the width of the interactive round button menu page.
css.gif
css2.gif
Code
  1. .ca-icon
  2. {
  3. font-family: 'WebSymbolsRegular';
  4. font-size: 40px;
  5. color: #f6f6f6;
  6. line-height: 60px;
  7. position: absolute;
  8. width: 100%;
  9. height: 60px;
  10. left: 0px;
  11. top: 30px;
  12. text-align: center;
  13. }
  14. .ca-main
  15. {
  16. font-size: 24px;
  17. position: absolute;
  18. top: 110px;
  19. height: 80px;
  20. width: 170px;
  21. left: 50%;
  22. }
Step 4: In this step we add a folder named "image" that is used to store all images. The images are used to set a background of an interactive round button menu page.
folder.gif
image.gif
image add.gif
Step 5: In this section, we set the content and color of the body of an interactive round button menu.
Code
  1. <body background="image/orange-dots.png">
  2. <h1 align="center" style="background-color: #00FFCC">Tom Developed CSS3 Animation Menus
  3. <span style="background-color: #66FFCC">Using HTML5 & CSS</span>
  4. </h1>
  5. <div class="content">
  6. <div class="more"></div>
  7. <ul class="ca-menu" style="background-color: #FF99CC">
  8. <li>
  9. <a href="#" style="background-color: #FFCCFF">
  10. <span class="ca-icon">M</span>
  11. <div class="ca-content">
  12. <h2 class="ca-main" style="background-color: #66CCFF">Home</h2>
  13. <h3 class="ca-sub">About Us</h3>
  14. </div>
  15. </a>
  16. </li>
  17. <li>
  18. <a href="#" style="background-color: #FFCCFF">
  19. <span class="ca-icon">A</span>
  20. <div class="ca-content">
  21. <h2 class="ca-main" style="background-color: #66CCFF">Contect Us</h2>
  22. <h3 class="ca-sub">Jobs</h3>
  23. </div>
  24. </a>
  25. </li>
  26. <li>
  27. <a href="#" style="background-color: #FFCCFF">
  28. <span class="ca-icon" id="heart">N</span>
  29. <div class="ca-content">
  30. <h2 class="ca-main" style="background-color: #66CCFF">Tranning</h2>
  31. <h3 class="ca-sub"></h3>
  32. </div>
  33. </a>
  34. </li>
  35. <li>
  36. <a href="#" style="background-color: #FFCCFF">
  37. <span class="ca-icon">I</span>
  38. <div class="ca-content">
  39. <h2 class="ca-main" style="background-color: #66CCFF">Career</h2>
  40. <h3 class="ca-sub">Adverties</h3>
  41. </div>
  42. </a>
  43. </li>
  44. <li>
  45. <a href="#" style="background-color: #FFCCFF">
  46. <span class="ca-icon">S</span>
  47. <div class="ca-content">
  48. <h2 class="ca-main" style="background-color: #66CCFF">Certifications</h2>
  49. <h3 class="ca-sub">Resources</h3>
  50. </div>
  51. </a>
  52. </li>
  53. </ul>
  54. </div>
  55. </body>
body.gif
Step 6: Now in this section we apply a style on a mouse hover event that performs the functionality when the user clicks on a text button; after that change a text menu presentation.
Code
  1. .ca-menu
  2. {
  3. color: #000;
  4. font-size: 60px;
  5. text-shadow: 0px 0px 1px #000;
  6. }
  7. .ca-menu
  8. {
  9. color: #000;
  10. }
mouse.gif
Step 7: In this section, we set a demo of a code interactive round button menu application that is given below.
Code
  1. <html>
  2. <head>
  3. <title>Creative CSS3 Animation Menus</title>
  4. <link rel="stylesheet" type="text/css" href="StyleSheet3.css" />
  5. </head>
  6. <body background="image/orange-dots.png">
  7. <h1 align="center" style="background-color: #00FFCC">Tom Developed CSS3 Animation Menus
  8. <span style="background-color: #66FFCC">Using HTML5 & CSS</span>
  9. </h1>
  10. <div class="content">
  11. <div class="more"></div>
  12. <ul class="ca-menu" style="background-color: #FF99CC">
  13. <li>
  14. <a href="#" style="background-color: #FFCCFF">
  15. <span class="ca-icon">M</span>
  16. <div class="ca-content">
  17. <h2 class="ca-main" style="background-color: #66CCFF">Home</h2>
  18. <h3 class="ca-sub">About Us</h3>
  19. </div>
  20. </a>
  21. </li>
  22. <li>
  23. <a href="#" style="background-color: #FFCCFF">
  24. <span class="ca-icon">A</span>
  25. <div class="ca-content">
  26. <h2 class="ca-main" style="background-color: #66CCFF">Contect Us</h2>
  27. <h3 class="ca-sub">Jobs</h3>
  28. </div>
  29. </a>
  30. </li>
  31. <li>
  32. <a href="#" style="background-color: #FFCCFF">
  33. <span class="ca-icon" id="heart">N</span>
  34. <div class="ca-content">
  35. <h2 class="ca-main" style="background-color: #66CCFF">Tranning</h2>
  36. <h3 class="ca-sub"></h3>
  37. </div>
  38. </a>
  39. </li>
  40. <li>
  41. <a href="#" style="background-color: #FFCCFF">
  42. <span class="ca-icon">I</span>
  43. <div class="ca-content">
  44. <h2 class="ca-main" style="background-color: #66CCFF">Career</h2>
  45. <h3 class="ca-sub">Adverties</h3>
  46. </div>
  47. </a>
  48. </li>
  49. <li>
  50. <a href="#" style="background-color: #FFCCFF">
  51. <span class="ca-icon">S</span>
  52. <div class="ca-content">
  53. <h2 class="ca-main" style="background-color: #66CCFF">Certifications</h2>
  54. <h3 class="ca-sub">Resources</h3>
  55. </div>
  56. </a>
  57. </li>
  58. </ul>
  59. </div>
  60. </body>
Step 8: Press Ctrl + F5 to run an application in a browser.
Output
out.gif
out1.gif
out22.gif
out3.gif
Resources
Here are some useful resources