forked from PATILYASHH/Matrices-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsub.css
107 lines (95 loc) · 1.71 KB
/
sub.css
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: radial-gradient(circle, #fff 5%, #dcedc8 80%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
}
.container {
width: 80%;
max-width: 600px;
padding: 40px;
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.95);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
animation: fadeIn 0.8s ease-out;
margin: 20px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
h1 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
.matrix {
margin-bottom: 30px;
}
.matrix h3 {
margin-bottom: 10px;
color: #333;
text-align: center;
font-size: 1.5rem;
}
.matrix-input {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
margin-bottom: 20px;
}
.matrix-input input {
width: 60px;
height: 60px;
text-align: center;
font-size: 1.2rem;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
transition: all 0.3s ease;
}
.matrix-input input:focus {
outline: none;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
button {
padding: 15px 25px;
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
display: block;
margin: 0 auto;
font-size: 1.2rem;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #388e3c;
}
#result {
width: calc(100% - 40px);
height: 150px;
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
resize: none;
font-size: 1.2rem;
background-color: #fff;
color: #333;
}