807,323 questions
0
votes
1
answer
37
views
How do I get the clicked image on my tab gallery to open the correct display container when viewing the html file on a browser?
When I click on an image in my tab gallery, the image opens in the container made for just one of the years container on my gallery. So lets say an image is in the 2020 gallery. When clicking on it, ...
1
vote
0
answers
12
views
How to fix FOUT/Layout Shift when using Google Fonts `@import` in Jekyll SCSS?
I'm experiencing Flash of Unstyled Text (FOUT) when moving within internal links on my Jekyll site hosted on GitHub Pages, despite using the &display=swap parameter on my Google Fonts URL.
Setup
...
0
votes
2
answers
60
views
How is the specificity determined when both utility class and layer components (of Tailwind CSS) is applied on same element
Here is a sample snippet. My expectation is that all the styles specified in @layer components .card will be applied on the div instead of the utility classes. But the div takes background color from ...
0
votes
0
answers
44
views
Odoo v.19 not loading CSS file from assets
I read that from Odoo v.17 onwards, CSS files should be listed under the assets section of the manifest file, like so:
'assets': {
'web.assets_backend': [
'mydashboard/static/...
0
votes
0
answers
30
views
CSS Flexbox Issue
I have a container with multiple items displayed using CSS Flexbox, with flex-wrap: wrap and justify-content: center so that the items are visually centered and wrap responsively. Each item has a ...
0
votes
0
answers
38
views
Get CSS RotateZ() from matrix3d
I am trying to determine an angle of rotation dynamically within an animation for each frame. The object is only rotating on its Z axis and after some research I found that the best method is probably ...
-3
votes
0
answers
91
views
How to remove unused JavaScript and CSS files from my website? [closed]
I’m trying to improve my website performance and Google PageSpeed Insights shows that many JavaScript and CSS files are unused or partially unused.
I want to remove or disable these unnecessary files, ...
-1
votes
2
answers
72
views
How to get 100 small viewport height in Javascript?
I have an asset that has to be statically sized based on viewport height. The problem is that for some mobile browsers when the navigation bar hides, the asset changes size, because the height of the ...