delete button css

Solutions on MaxInterview for delete button css by the best coders in the world

showing results for - "delete button css"
Archer
28 Jan 2019
1<!DOCTYPE html>
2<html>
3<style>
4body {font-family: Arial, Helvetica, sans-serif;}
5* {box-sizing: border-box;}
6
7
8button {
9  background-color: #4CAF50;
10  color: white;
11  padding: 14px 20px;
12  margin: 8px 0;
13  border: none;
14  cursor: pointer;
15  width: 100%;
16  opacity: 0.9;
17}
18
19button:hover {
20  opacity:1;
21}
22
23
24.cancelbtn, .deletebtn {
25  float: left;
26  width: 50%;
27}
28
29.cancelbtn {
30  background-color: #ccc;
31  color: black;
32}
33
34
35.deletebtn {
36  background-color: #f44336;
37}
38
39
40.container {
41  padding: 16px;
42  text-align: center;
43}
44
45
46.modal {
47  display: none;
48  position: fixed;
49  z-index: 1; 
50  left: 0;
51  top: 0;
52  width: 100%; 
53  height: 100%; 
54  overflow: auto;
55  background-color: #474e5d;
56  padding-top: 50px;
57}
58
59
60.modal-content {
61  background-color: #fefefe;
62  margin: 5% auto 15% auto; 
63  border: 1px solid #888;
64  width: 80%; 
65}
66
67/* Style the horizontal ruler */
68hr {
69  border: 1px solid #f1f1f1;
70  margin-bottom: 25px;
71}
72 
73/* The Modal Close Button (x) */
74.close {
75  position: absolute;
76  right: 35px;
77  top: 15px;
78  font-size: 40px;
79  font-weight: bold;
80  color: #f1f1f1;
81}
82
83.close:hover,
84.close:focus {
85  color: #f44336;
86  cursor: pointer;
87}
88
89/* Clear floats */
90.clearfix::after {
91  content: "";
92  clear: both;
93  display: table;
94}
95
96/* Change styles for cancel button and delete button on extra small screens */
97@media screen and (max-width: 300px) {
98  .cancelbtn, .deletebtn {
99     width: 100%;
100  }
101}
102</style>
103<body>
104
105<h2>Delete Modal</h2>
106
107<button onclick="document.getElementById('id01').style.display='block'">Delete account</button>
108
109<div id="id01" class="modal">
110  <span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
111  <form class="modal-content" action="chatsam.netlify.app">
112    <div class="container">
113      <h1>Delete Account</h1>
114      <p>Are you sure you want to delete your account?</p>
115    
116      <div class="clearfix">
117        <button type="button" onclick="document.getElementById('id02').style.display='none'" class="cancelbtn">Cancel</button>
118        <button type="button" onclick="document.getElementById('id02').style.display='none'" class="deletebtn">Delete</button>
119      </div>
120    </div>
121  </form>
122</div>
123
124<script>
125// Get the modal
126var modal = document.getElementById('id02');
127
128// When the user clicks anywhere outside of the modal, close it
129window.onclick = function(event) {
130  if (event.target == modal) {
131    modal.style.display = "none";
132  }
133}
134</script>
135
136</body>
137</html>
138
queries leading to this page
delete button in cssremove button design cssremove buttons csscss how to remove button stylebutton remove standard csshow to remove style for button with csscss remove button stylesremove button cssdelete style button cssremove defualt button style cssbutton style deletebutton delte csshtml css remove buttonremoving all button cssdelete liste buttom cssbutton remove styling cssdelete button css styledelete cancel buttons csscss delet buttoncss remove button stylingcss remove button propertiesremove style button cshtml css remove button stylehow to remove button properties in csshow to style delete button and verify csscss button delete button style removing csshow to remove button style in cssremove styles from button in cssremove all css from buttonhow to completely remove button styling cssdelete button stylescss button with delete option examplehow to remove button style type with csscss style for delte buttonremove css button htmlcss button box removeremove style from button cssbutton remove cssbutton style css removecss delete button stylehow to remove style button cssbutoon css removeremove css style of buttonremove button default css stylehow to remove all css button stylecss delete button texthowto remove css from buttondeletd button cssdelete a button cssremove button stylehow to remove button look in cssdelete button css htmlerase content button html cssdeletebutton csscss button remove styleshow to delete all the styles of button csscss remove property buttondelete style from button cssdelete button csshtml css remove button formattingcss delete buttonadd remove delete buttons csshow to remove button cssremove buttton cssremove button text cssnice delete button cssremove style button cssremove button styles cssremoving style button csssylist delete button html cssdelete btn csshow to remove button styling cssdelete button css designcss profichnal remove buttondelete button design csscss button removesbutton css remove stylecss delte buttonadd a button to delete in csscss button remove outliinedelete button style cssremove button defualt stylehow to remove button using csscss remove button contentremove button style cssdelete button styling csscss what to remove to a button css remove btn stylehow to remove btn csscss remove button stylecss button with deleteremove button styling cssdelete button stylecss button to remove delete button html csscss button remove styledeltete button cssremove css button styleremove button default style cssdelete button css