Add files via upload
This commit is contained in:
1 parent
6f0f1bfc01
commit
adcee9d14a
2 files changed
+14
-3
No files matched your search
@@ -9,6 +9,8 @@
|
||||
<!-- Create a display screen -->
|
||||
<div class="screen" id="screen"></div>
|
||||
<!-- Create a table of buttons -->
|
||||
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><button class="button function" id="sqrt">√</button></td>
|
||||
@@ -48,6 +50,13 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div> <button>plain button</button>
|
||||
|
||||
<button class="disable-dbl-tap-zoom">button with disabled double-tap zoom</button>
|
||||
|
||||
<p>A <b>plain</b> paragraph. To enable the double-tap zoom..</p>
|
||||
|
||||
<p class="disable-dbl-tap-zoom">A paragraph <b>with disabled double-tap zoom</b>. To disable in mobile/touchscreen devices double-tap zoom in buttons.</div>
|
||||
|
||||
<!-- Link to the JavaScript code -->
|
||||
<script src="script.js"></script>
|
||||
|
||||
+5
-3
@@ -1,7 +1,9 @@
|
||||
.{
|
||||
display: flex;
|
||||
}
|
||||
.disable-dbl-tap-zoom {
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Style the calculator container */
|
||||
.calculator {
|
||||
width: 300px;
|
||||
|
||||
Reference in new issue
Block a user