Added some css examples

This commit is contained in:
2025-08-05 22:54:26 +02:00
parent a7b6a93680
commit 186f9c036a
5 changed files with 188 additions and 1 deletions

25
css-examples/panels.css Normal file
View File

@@ -0,0 +1,25 @@
.panel-container {
display: grid;
grid-template-columns: 0em 1fr 0em;
transition: grid-template-columns 0.3s ease;
height: 100vh;
}
.side-panel {
background: rgba(0, 0, 0, 0.3);
}
.left-panel {
border-right: 1px solid #444;
}
.right-panel {
border-left: 1px solid #444;
}
.center-panel {
background: #222;
color: white;
padding: 1em;
}