![]() |
|
[Tutorial] [CSS] A Basic Tab Menu! - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: [Tutorial] [CSS] A Basic Tab Menu! (/showthread.php?tid=4455695) |
[CSS] A Basic Tab Menu! - Velozity - Sep 21, 2014 Hey! Im Velozity. Im a learner in css at the moment, and wish to release what I go through :) - In hope that it helps other beginners! Heres what you will be making: Spoiler (Click to View) (And when you hover over the menu it will light up/animate) --------------------------------- Step 1: Get your tags in! Start with your basic tags.... Quote:<html> (http://prntscr.com/4oupnn) ---------------------------------- Step 2: Getting your CSS on! Start with the background and padding!: Quote:html, body (http://prntscr.com/4oupvb) Then move onto getting the hover(Mouse over box, lights up) Quote:.box:hover (http://prntscr.com/4ouq8w) Now we start with the first box!(The first tab) Quote:.box (http://prntscr.com/4ouqdv) Now we move onto the href settings.. Quote:a (http://prntscr.com/4ouqmg) Then we get on the main header(The dark grey) Quote:#header (http://prntscr.com/4ouqv1) Then we finish with.... Quote:.bigbox Now thats the end of CSS! Moving onto the simple html stuff :) Inside your <body> tags be sure to add the following.. Quote:<div class="bigbox"> ^^ Edit the above to your div class name...(leave if just copied/pasted mine) ------------------------------------- If you wish to view the whole code, you can view it here: Spoiler (Click to View) Hope, I have helped.. If you want some clearing up on anything feel free to contact me! If I have got this in the wrong thread, please move it :) or let me know. |