How to name my custom properties semantically
Hello everyone, I would like some help and suggestions for articles that I can read about how I can name my custom properties in a better way.
Instead of just naming the colors like: --red, --blue, --cyan, etc.
I want to learn a better way of how I can name them, I heard that I should name the colors as primary, secondary (accent), neutral....
Help w/ Dialog
Hi! Can anyone help me w/ my Dialog issue?
Whenever the dialog is closed via the "Submit changes" button, it should change the correct line
I was giving it some thought and all that I could think of is putting an identifier in the creation and hide it so I can call upon the position in the table, for example like this
<p class="hidden">${locationInTable0based}</p>
I do hope there is a better way tho, any ideas?...Scrollable Tables and Position Sticky oh my
Hey all, thanks in advance for any possible assistance. I am stumped by this one as I have googled it many times but haven't been able to find a good solution.
Here is a code pen with the basics of the skeleton I'm trying to work on:
https://codepen.io/LexCodepen/pen/LYqOYzR
...
Stuck on getting items to grid wrap.
Trying t o get my input and button be 100% container width at certain widths, then be side by side with the input being the majority of the width. I been tring different template columns with minmax and autofits but cant get them do both.
I gave the input a max width, and was thinking once that max width was met the button move from the second line to the same line....
Dynamic Font Size Based On Container & Text Length
I have a difficult challenge that I'm not sure is currently solvable.
I want to utilize container size units (cqi) to adjust the font-size of text to the container...
BUT...
Struggling with my investigation methods a bit.
Would someone indicate where in this documentation it explains that the Boolean "method" will return only the truthy values please? So if I use it in the following code it returns the number of truthy values in array r. It does what it does but I need to understand why it doesn't return all truth/falsey values and only the truthy ones. Now I'm a bit more confused because I'm not sure if this question even makes sense...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean (edited)...
r.filter(Boolean).length
r.filter(Boolean).length
Grid layout with CMS restrictions
Hey! I have an issue where I'm pretty sure it's not possible but want to ask just in case. I have a grid container with 3 columns, which is a template in a theme.
Inside this container there are only 2 items, and I need to center the 2 items across the whole container (disregarding their columns).
Now due to how the template is set up, it would be much easier if this was possible but I'm pretty sure it isn't. I'll have to go in and edit a ton of styling. Is this the only way?...
How can I Tackle down this layout for mobile and desktop size?
As you can see my issue is on how to make these 2 buttons appear at the bottom of the testimonials when going to mobile size, there won't be an issue if I just make this layout work as it is, but then the 2 buttons will have to stay at the top of the testimonials, as drawn with purple marker, any way to tackle this down?
Include other HTML file in the HTML file
So, I have been searching for a way to include
header.html
to home.html
... I used async and await but there is a delay in loading, so is there any other way?
I am trying to use innerHTML with DOM. But still, I can see some flickering delay. Is there any other way...?...Bootstrap forms not appending data in the url via get method
If i submit basic form via get method , data is appended to the URL , but when i used Bootstrap form, the dont see any data being appended. How to fix this?
```js
html -> http://127.0.0.1:5500/day7.html when form is submitted http://127.0.0.1:5500/values.html?fname=as&lname=as
...
grid child positioning and margins
Yo.
I'm trying to figure out if there is a way to move the position of a grid-item inside the grid block. As you can see here, the text and image is spaced out quite a bit, so I wondered if there was a way to have the text sit on the far right of it's block (end?) and the image sit on the far left (start?)
https://codepen.io/Laing91/pen/JjxrJOb...
grid responsive
Hi, I would like to know if you can help me, I wanted to know what would be the best possible option to put this responsive display grid, the container is limited to 1280px and the card to a max-width: 270px.
Absolute positioned element exceeding (and affecting) scrollable container.
Hello everyone! I recently ran into this tricky situation in which I have an absolute positioned element which is inside of a relative positioned element, which again ist positioned in some other container which allows for vertical scrolling. (there's more to it, but this is a minimal reproducible example). However, the absolute positioned element supposed to be way bigger than the containing element, which cases the container in which they're both placed to be affected.
I tried to reproduce the example in a codepen: https://codepen.io/ConfusedHorse/pen/MWLvMbN
Because this is just a reduced example, the following properties must not be changed:...
Next 14 Session Provider
Does anybody know how to setup a session provider with Next JS 14? I just went through their tutorial, and it was cool, but there's no info on how to setup the session provider, and everything I try online seems to be out of date.
I'm considering just switching to a more well documented version of next, but wanted to get the thoughts of you guys before resorting to that.
Thanks....
Another day of life, another CDL question on Svelte!
https://www.sveltelab.dev/7gkkb6hx4odofjj
I'm trying to add some dynamic code to the Header.svelte so that when I click on a link, under the Navbar I'll add my title, see Codepen for example.
https://codepen.io/pen/...
How to create infinite site?
How to create site like miro (infinite)? I mean, i need to create site that you can scroll and scroll in all directions (depending on amount of content, more content, more scrolling). I'm now trying to make this site with
overflow: auto
, but it works not how I want. Maybe there is some videos about this?
More specifically, the result of what I did didn't suit me because I couldn't center the container properly. That is, I had a container main, and in it a container expenses, the container main I did not set the size, as well as the container expenses (but set the size of containers inside expenses), and when I tried to center the container expenses relative to the container main all centered, but the content on the edges of the container expenses became unavailable.
And I also want to say that I don't need content generation when scrolling (at least for now), I need to be able to view the entire expenses container content in peace....Border hover animation reversing
Hi, I'd like to reverse my animation when hovering off the element, and not that it disappears without transition like now.
Also the animation is weird and glitchy, can't figure out why..
https://codepen.io/axl-prudhomme/pen/XWOayoN?editors=1100...
Border "padding"?
Hello everyone, with a div that has padding-inline, how do you typically styling to achieve a border like this image?
I usually add border to pseudo-element like ::after or to a child div instead, just wondering if there is a better way......