Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <div class="icon-bar" style="z-index: 2;">
  2. <a href="#" class="setting" style="border-radius: 0px 9px 10px 0px;" onclick="cardopen()"><i class="fa fa-cog fa-2x"></i></a>
  3. </div>
  4. <div class="container">
  5. <div id="card" class="card" style="display: none; width: 374px; left: 70px; top: 40px;z-index: 2;position: fixed;">
  6. <div class="card-body">
  7. <!-- Material input -->
  8. <div class="md-form col-md-12">
  9. <input type="text" id="form1" class="form-control">
  10. <label for="form1">Example label</label>
  11. </div>
  12. <div class="md-form col-md-12">
  13. <input type="text" id="form1" class="form-control">
  14. <label for="form1">Example label</label>
  15. </div>
  16. <div class="md-form col-md-12">
  17. <input type="text" id="form1" class="form-control">
  18. <label for="form1">Example label</label>
  19. </div>
  20. <div class="md-form col-md-12">
  21. <input type="text" id="form1" class="form-control">
  22. <label for="form1">Example label</label>
  23. </div>
  24. <div class="md-form col-md-12">
  25. <input type="text" id="form1" class="form-control">
  26. <label for="form1">Example label</label>
  27. </div>
  28. <div class="md-form col-md-12">
  29. <input type="text" id="form1" class="form-control">
  30. <label for="form1">Example label</label>
  31. </div>
  32. <div class="md-form col-md-12">
  33. <input type="text" id="form1" class="form-control">
  34. <label for="form1">Example label</label>
  35. </div>
  36. <div class="md-form col-md-12">
  37. <input type="text" id="form1" class="form-control">
  38. <label for="form1">Example label</label>
  39. </div>
  40. <div class="md-form col-md-12">
  41. <input type="text" id="form1" class="form-control">
  42. <label for="form1">Example label</label>
  43. </div>
  44. <div class="md-form col-md-12">
  45. <input type="text" id="form1" class="form-control">
  46. <label for="form1">Example label</label>
  47. </div>
  48. <div class="md-form col-md-12">
  49. <div class="row">
  50. <button type="button" class="btn btn-primary" style="float:left">click here</button>
  51. <button type="button" class="btn btn-primary">clcking chere</button>
  52.  
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58.  
  59. <div class="container">
  60. <p>testing</p>
  61. <p>testing</p>
  62. <p>testing</p>
  63. <p>testing</p>
  64. </div>
  65. <br>
  66. <br>
  67. <div class="container">
  68. <p>testing2</p>
  69. <p>testing2</p>
  70. <p>testing2</p>
  71. <p>testing2</p>
  72. </div>
  73. <div style="margin-bottom: 800px;">
  74.  
  75. </div>
  76.  
  77. .icon-bar {
  78. position: fixed;
  79. top: 15%;
  80. -webkit-transform: translateY(-50%);
  81. -ms-transform: translateY(-50%);
  82. transform: translateY(-50%);
  83. color: black;
  84. }
  85.  
  86. a {
  87. color: #007bff;
  88. text-decoration: none;
  89. background-color: #999595;
  90. }
  91. .icon-bar a {
  92. display: block;
  93. text-align: center;
  94. padding: 16px;
  95. transition: all 0.3s ease;
  96. color: black;
  97. font-size: 20px;
  98. }
  99.  
  100.  
  101.  
  102. .setting {
  103. background: #3B5998;
  104. color: black;
  105. }
  106.  
  107. function cardopen() {
  108. var x = document.getElementById("card");
  109. if (x.style.display === "none") {
  110. x.style.display = "block";
  111. } else {
  112. x.style.display = "none";
  113. }
  114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement