this post was submitted on 05 Aug 2023
1 points (60.0% liked)
Web Development
3439 readers
11 users here now
Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development
What is web development?
Web development is the process of creating websites or web applications
Rules/Guidelines
- Follow the programming.dev site rules
- Keep content related to web development
- If what you're posting relates to one of the related communities, crosspost it into there to help them grow
- If youre posting an article older than two years put the year it was made in brackets after the title
Related Communities
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Wormhole
Some webdev blogs
Not sure what to post in here? Want some web development related things to read?
Heres a couple blogs that have web development related content
- https://frontendfoc.us/ - [RSS]
- https://wesbos.com/blog
- https://davidwalsh.name/ - [RSS]
- https://www.nngroup.com/articles/
- https://sia.codes/posts/ - [RSS]
- https://www.smashingmagazine.com/ - [RSS]
- https://www.bennadel.com/ - [RSS]
- https://web.dev/ - [RSS]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
(If the ideal solution is not possible) I think you are right.
Let me check I understood: the idea is to have a single changing-magic-number (the number of menu options) set in a variable
--item-count
and then calculate all the other values from that. The--column-count
would be fixed for each resolution step, so that's ok.Thank you very much for the help!
Yeah more or less. I'm not sure what's rendering your html though, myself I'd do the math in js and just set the row-count variable off the value in the inline style, but it depends on what's doing your dynamic rendering.
Yep, a bit of JS is another option.
Nothting really, I wanted to keep the project very simple (because there are non-devs contributing to it) and the HTML is static code.