Responsive and Fixed Navigation Menu - Responsive Web Design Posted by Yahya Benlachheb on February 11, 2018 Get link Facebook Twitter Pinterest Email Other Apps HTML CODE Fixed Navigation Menu Home About Works Contact Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. CSS CODE body{ margin: 0; padding: 0; font-family: "Montserrat"; } .navbar{ position: fixed; height: 80px; overflow: hidden; top: 0; display: flex; align-items: center; background: #f1f1f1; width: 100%; } .logo{ background: url(logo.png) no-repeat 50% 50%; background-size: contain; width: 180px; height: 18px; float: left; margin-left:20px; } .menu{ position: absolute; right: 20px; } .menu a{ color: #333; text-decoration: none; font-weight: 700; margin-left: 20px; transition: color 0.3s; text-transform: uppercase; } .menu a:hover{ color: #6ab04c; } .header{ width: 100%; height: 600px; background: url(bg.png) no-repeat 50% 50%; background-size: cover; margin-top: 80px; } .btn{ display: none; position: absolute; right: 20px; } .btn:hover > span{ background: #6ab04c; } .btn span{ display: block; margin: 6px; width: 40px; height: 3px; background: #333; } p{ padding: 20px; font-size: 20px; text-align: justify; } @media only screen and (max-width : 600px) { .navbar{ overflow: visible; } .menu{ width: 100%; right: 0; top: 80px; background: #f1f1f1; overflow: hidden; max-height: 0; } .menu a{ display: block; text-align: center; padding: 10px; margin: 0; } .btn{ display: block; cursor: pointer; } .show{ max-height: 500px; } } Comments h ichJuly 16, 2018 at 8:29 PMPictures?ReplyDeleteRepliesh ichJuly 16, 2018 at 8:29 PMNiceDeleteRepliesReplyReplyUnknownNovember 2, 2018 at 4:19 PMHiReplyDeleteRepliesReplyNegarFebruary 18, 2019 at 11:52 AMThis comment has been removed by the author.ReplyDeleteRepliesReplyAnasMay 23, 2020 at 2:59 PMGood kepp going my freindReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Pictures?
ReplyDeleteNice
DeleteHi
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGood kepp going my freind
ReplyDelete