-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresponsive.html
77 lines (70 loc) · 2.22 KB
/
responsive.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-square-buttons.min.css" />
</head>
<body>
<!-- Start your project here-->
<style>
/* Style for Extra Large Screen */
@media (max-width:3920px) {
.btn-sq-responsive {
width: 200px !important;
max-width: 100% !important;
max-height: 100% !important;
height: 200px !important;
font-size:24px;
}
}
/* Style for Large Screen */
@media (max-width:991px) {
.btn-sq-responsive {
width: 150px !important;
max-width: 100% !important;
max-height: 100% !important;
height: 150px !important;
font-size:18px;
}
}
/* Style for Medium Screen */
@media (max-width:767px) {
.btn-sq-responsive {
width: 100px !important; /* whatever width you want for medium screen */
max-width: 100% !important;
max-height: 100% !important;
height: 100px !important; /* whatever height you want for medium screen */
font-size:12px;
}
}
/* Style for Small Screen */
@media (max-width:575px) {
.btn-sq-responsive {
width: 50px !important; /* whatever width you want for mobile screen */
max-width: 100% !important;
max-height: 100% !important;
height: 50px !important; /* whatever height you want for mobile screen */
font-size:5px;
padding: 0px;
font-size:7px;
}
}
</style>
<button type="button" class="btn btn-dark btn-sq-responsive">Button</button>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>