Spaces:
Running
Running
Create example_selector.css
Browse files
assets/css/example_selector.css
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: Arial, sans-serif;
|
| 3 |
+
margin: 20px;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.container {
|
| 7 |
+
max-width: 800px;
|
| 8 |
+
margin: auto;
|
| 9 |
+
padding: 20px;
|
| 10 |
+
border: 1px solid #ccc;
|
| 11 |
+
border-radius: 8px;
|
| 12 |
+
background-color: #f9f9f9;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.example-selector {
|
| 16 |
+
margin-bottom: 20px;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.example-selector button {
|
| 20 |
+
margin-right: 10px;
|
| 21 |
+
padding: 10px 20px;
|
| 22 |
+
cursor: pointer;
|
| 23 |
+
border: none;
|
| 24 |
+
border-radius: 5px;
|
| 25 |
+
background-color: #007bff;
|
| 26 |
+
color: white;
|
| 27 |
+
transition: background-color 0.3s;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.example-selector button:hover {
|
| 31 |
+
background-color: #0056b3;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.example-box {
|
| 35 |
+
padding: 20px;
|
| 36 |
+
border: 1px solid #ddd;
|
| 37 |
+
border-radius: 8px;
|
| 38 |
+
background-color: #fff;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.highlight {
|
| 42 |
+
background-color: yellow;
|
| 43 |
+
}
|