Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @media screen and (min-device-width: 320px) and (max-device-width: 768px) and (orientation:portrait){
- #mobile-menu
- {
- display: inline;
- }
- #normal-menu
- {
- display: none;
- }
- /* MOBILE NAV */
- nav
- {
- font-family: arial;
- }
- nav a
- {
- margin-left: 4em;
- margin-right: 4em;
- display: block;
- color: rgb(45, 119, 239);
- padding: 0.5em 1em;
- text-decoration: none;
- border: 1px solid black;
- background-color: rgb(185,185,185);
- }
- nav a:hover
- {
- background-color: green;
- }
- /* MOBILE DIV */
- div
- {
- margin-left: 5em;
- margin-right: 5em;
- padding: 1em;
- background-color: rgba(255,255,255,0.5);
- font-size: 0.8em;
- font-family: arial;
- border-radius: 40px 0px 40px 0px;
- border-color: rgb(0,0,0);
- border: 1px solid;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement