1,185,190 questions
Score of -2
0 answers
63 views
How to write a lot of css utility classes in-line efficiently? [closed]
I took a look at a React project where they reuse their own custom UI components like Input, FieldGroup etc all throughout the project. At the bottom I show what such a typical UI component looks like....
Score of -1
1 answer
51 views
How to prevent HTML minification when generating a static site in Nuxt?
I am working on a Nuxt project and generating a static site using the nuxt generate command.
Score of -4
0 answers
64 views
Generating Series of Date Values in an Interactive Grid [duplicate]
I am trying to set an Interactive Grid column value, which is a date, based on page items. I have tried different ways, but I am unable to get it to work in the way I need for my current project.
I ...
Score of 1
1 answer
93 views
Error when trying to loop through and display SQLite table within HTML page
I'm currently trying to loop through a table from my SQLite database and display it on my Flask web app however none of the data is showing on the HTML page and when trying to query the table I'm ...
Score of 0
0 answers
40 views
VS IDE getting path auto-completion and HTML class extension to work in nunjucks .njk files
I am building a website with Eleventy, using nunjucks as templates within Visual Studio.
Prettier works its magic recognizes .njk as a combination of HTML and .njk, formatts both.
What i can not get ...
Score of -6
0 answers
115 views
jQuery only targets hard coded element IDs not ones in arrays [closed]
Redoing my jQuery code and left a bit confused as expected jQuery I have a web page that has to be modified after it is loaded. Using jQuery to add extra CSS classes to elements according to their ID'...
Score of -1
0 answers
132 views
I cannot show the file in the local environment
I have a PHP application, and in the local environment http://localhost:8000/myapp I cannot see one icon :
<img src="dirmodules/dirbusinessrules/modulename/svg/my-file.svg">
I checked ...
Score of -4
0 answers
123 views
Preserve HTML email colours, background images and selectable text in Gmail iOS dark mode, is it possible? [closed]
I'm building designed HTML email templates (hero images, coloured backgrounds, styled text). My requirement is that, when viewed in the Gmail app on iOS in dark mode, the email must:
keep its ...
Score of 0
1 answer
80 views
I have a picture with a mapped area that by clicking on it opens a mp4 video in a highslide frame
Now this is perfectly working in Safari on my Mac and also on the DuckDuckGo browser but the video refuses to load in Firefox, Google Chrome,Opera and Brave. The video format is h265 with AAC as ...
Score of 2
0 answers
94 views
Conditional scroll-timeline binding inside CSS Container Queries
I am attempting to bind a CSS Scroll-driven Animation only when an element's container drops below a specific width.
When nesting animation-timeline inside a @container rule, it creates a style ...
Score of -8
1 answer
259 views
What's causing the empty space in this HTML/CSS?
I accidentally edited something I shouldn't have in my code, and now there is a huge empty space that I have no idea what is making it appear. This empty space was not here before and I really want to ...
Score of 3
3 answers
176 views
How do I make my website change layouts depending on screen size? [duplicate]
I have a website I'm working on that uses bootstrap 5.3 for its layout. Currently, I am trying to figure out how to change my layout when on mobile screens.
Here is the body of my main page:
/* ...
Score of -5
1 answer
133 views
Shall I use a link or an input field for a hamburger menu
What is best practices for a hamburger menu (navigation)?
I have seen two versions of a burger menu.
The first one is a link:
<a href="#menuToggle" class="hamburger" role="...
Score of 2
1 answer
107 views
Expand square flexboxes two dimensionally within bounds
I have a dynamically generated grid that I would like to appear responsive, that is, it should expand up to a reasonable size on the screen while keeping aspect ratio. What I would like is something ...
Score of 0
0 answers
125 views
How do I make it so that the element that holds the canvas stands on top of the button? [closed]
I'm trying to implement a color picker with a specific style in my menu bar, but the canvas element constantly clips down the button:
What it's supposed to look like (taken from the old version of my ...