[React] How does this code look to you?
I have the following code how I can make contaniner_contant class closer to background_countainer
Background color changes dimensions ???
grid grid-cols-[repeat(3,min(50px))] grid-rows-[repeat(2,min(50px))] place-self-center gap-4
...having a scrollbar without setting height
overflow-y: scroll
doesnt work unless I set height: 100vh
, which I cant do because it still takes effect when the menu is closed (the element is still visible, but not expanded).
Is there a solution that doesnt require js?...confusing info
How can I create a submission page?
Making a paragraph fit it's content
<p>
element, which I'd like to add a max width to, and also have text-wrap
set to balance
. However, applying these properties creates extra space on the right side of the element, which I'd like to get rid of. As you can see in the pen below, I've tried adding width: fit-content
, but it doesn't change anything. What should I do to fix this?
Here's a pen:
https://codepen.io/samalander0/pen/ZEPLjzm...How to align the header and footer for a page
Centering absolute element above relative parent element
Why align-items: stretch, is not working in this case
LIST ELEMENTS, EDITING BULLETS
How do I destructure an object that extends multiple interfaces into each of those interfaces?
Difference between <Doctype> and <!Doctype>
<Doctype>
<Doctype>
<!Doctype>
<!Doctype>
Responsive component with overflow scroll (Tailwind)
Union of literal types from an array of strings
const sample = ["apple", "banana", "grape", "orange""]
. Basically I want to be able to get type SomeType = "apple" | "banana" | "grape" | "orange"
. I need this SomeType
because I need to create a function that accepts one of these values instead of typing them one by one like this
```ts...Having problem with transform-style: perserve-3d
@use instead of @import
How do I overflow/breakout a side menu item label?
position: relative
and then make the label element position: absolute
to break it out? I could be totally wrong here of course ๐ .
CSS & HTML can be viewed at the link below:...Sidebar is pushing down my content and creating whitespace