Advertisement
lemansky

Untitled

Dec 7th, 2021
1,042
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.02 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Document</title>
  6.     <link rel="stylesheet" href="https://bootswatch.com/4/flatly/bootstrap.min.css">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8.  
  9.  
  10.  
  11.    <script>
  12.      document.addEventListener('DOMContentLoaded', () => {
  13.  
  14.     });
  15.    </script>
  16. </head>
  17. <body>
  18.     <!-- задача 1 -->
  19. <div class="container my-4">
  20.     <table style="display:inline-block;vertical-align:top;">
  21.       <tr>
  22.         <td> <input type="button" class="cube form-control btn btn-info" style="width:50px;height:50px" value="1"> </td>
  23.         <td> <input type="button" class="cube form-control btn btn-warning" style="width:50px;height:50px" value="2"> </td>
  24.         <td> <input type="button" class="cube form-control btn btn-info" style="width:50px;height:50px" value="3"> </td>
  25.       </tr>
  26.       <tr>
  27.         <td> <input type="button" class="cube form-control btn btn-danger" style="width:50px;height:50px" value="4"> </td>
  28.         <td> <input type="button" class="cube form-control btn btn-success" style="width:50px;height:50px" value="5"> </td>
  29.         <td> <input type="button" class="cube form-control btn btn-warning" style="width:50px;height:50px" value="6"> </td>
  30.       </tr>
  31.       <tr>
  32.         <td> <input type="button" class="cube form-control btn btn-default" style="width:50px;height:50px" value="7"> </td>
  33.         <td> <input type="button" class="cube form-control btn btn-info" style="width:50px;height:50px" value="8"> </td>
  34.         <td> <input type="button" class="cube form-control btn btn-primary" style="width:50px;height:50px;" value="9"> </td>
  35.       </tr>
  36.     </table>
  37.     <span style="display:inline-block;vertical-align:top;">
  38.       <input type="button" class="form-control" id="" style="width:150px;height:150px;display:inline-block;font-size:50px;" value="0">
  39.     </span>
  40.   </div>
  41.  
  42.   <!-- задача 2 -->
  43.   <div class="container my-4">
  44.     <input type="button" class="btn btn-danger" id="" value="+"/>
  45.     <input type="button" class="btn btn-danger" id="" value="-">
  46.     <a href="#" class="btn btn-info m-3" id="" data-size="1" style="padding:5px;"> Result </a>
  47.   </div>
  48.  
  49.     <!-- Задача 3 -->
  50.   <div class="container my-4">
  51.     <div class="progress progress-striped " style="height:20px;">
  52.         <div class="progress-bar progress-bar-striped bg-success " style="width: 100%;"></div>
  53.     </div>
  54.     <div class="progress progress-striped " style="height:20px;">
  55.         <div class="progress-bar progress-bar-striped bg-info " style="width: 60%;"></div>
  56.     </div>
  57.     <div class="progress progress-striped " style="height:20px;">
  58.         <div class="progress-bar progress-bar-striped bg-danger " style="width: 30%;"></div>
  59.     </div>
  60.     <div class="form-group">
  61.         <input type="text" placeholder="въведете число между 1 и 3" class="form-control" id=""/>
  62.         <input type="button" class="form-control btn btn-info" value="Change" id=""/>
  63.       </div>
  64.   </div>
  65. </body>
  66. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement