Touch rem
How do I make an touch rem?
What is a touch rem? How do you make a touch rem? This script and codes were developed by Daniel Grant on 28 December 2022, Wednesday.
Touch rem - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Touch rem</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="header"> <button class="btn-previous">Previous</button> <button class="btn-next">Next</button>
</div>
<div class="wrapper"> <table> <tr> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> <td></td> </tr> </table> <button id="toggleTouch">Toggle Touch Mode</button>
</div>
<div class="footer"> <ul> <li><a>Home</a></li> <li><a>Categories</a></li> <li><a>People</a></li> <li><a>Settings</a></li> </ul>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Touch rem - Script Codes CSS Codes
* { box-sizing: border-box;
}
html { height: 100%; font-size: 68.5%;
}
html.touch { font-size: 80%;
}
body { font-size: 14px; font-size: 1.4rem; padding-top: 4.0rem; padding-bottom: 4.0rem; height: 100%;
}
.header { position: fixed; top: 0; width: 100%; height: 4.0rem; background: #a300a3; padding: 1rem 1.2rem;
}
.header button { background: #700870; border-radius: 2px; -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15); -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15); color: #ddd; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7); cursor: pointer; border: 1px solid #5b065b; border-bottom-color: #2b032b;
}
.btn-previous { float: left;
}
.btn-next { float: right;
}
.footer { position: fixed; left: 0; bottom: 0; width: 100%; height: 4.0rem;
}
.footer ul { margin: 0; padding: 0;
}
.footer li { float: left; display: block; list-style: none; width: 25%; height: 100%; padding: 1.2rem 0; background: #333; color: #eee; text-align: center; border-left: 1px solid #666;
}
.footer li:first-child { border-left: 0;
}
.wrapper { height: 100%; background: #eee; padding: 2rem 1.2rem;
}
table { width: 100%; margin-bottom: 20px;
}
td { height: 5.0rem; border: 1px solid #ccc;
}
Touch rem - Script Codes JS Codes
$('#toggleTouch').click(function() { $('html').toggleClass('touch');
});
Developer | Daniel Grant |
Username | djgrant |
Uploaded | December 28, 2022 |
Rating | 3 |
Size | 2,979 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Zero element inline validation bubble | 4,117 Kb |
Gradient Border | 2,600 Kb |
A Pen by Daniel Grant | 2,464 Kb |
Number input with controls | 2,867 Kb |
Facebook Paper Theme | 4,905 Kb |
Wireframe Planet | 5,744 Kb |
Responsive Modal | 4,178 Kb |
Grid crosshairs | 2,193 Kb |
Responsive Tabs | 3,473 Kb |
Loading bar for ajax pages | 2,464 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Image Stack Test SCSS | CalvinMorett | 2,799 Kb |
ASCII triangle image overlay | Mitchdot | 2,200 Kb |
About Us | Francescaedits | 1,902 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
Force Counter | Kenlauguico | 2,732 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 Kb |
Angular Route | Arun_v606 | 1,837 Kb |
Cartoon Bomb | Tcmulder | 4,929 Kb |
Christ the Redeemer | Prashantsani | 2,208 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!