806,786
questions
0
votes
0
answers
14
views
Why is my Snow-Video-Overlay not transparent?
I downloaded the following snow video effect: https://www.fxelements.com/products/clips/snow-003
Then i put it into the following html page:
<style>
/* Hintergrundbild für die Seite */
body, ...
0
votes
2
answers
43
views
How to achieve consistent background-image: cover effect with sliced background images?
I'm trying to display an image within a 100px x 100px container. The image's aspect ratio is not 1:1, so using background-image: cover on the container fills it without distortion.
To achieve a ...
-3
votes
1
answer
18
views
How to achieve CSS element transform styling in Tailwind [closed]
I have this css line written and it works pretty well in CSS but I would like to achieve same with tailwind. I am aware of Tailwind Rotate but it does not get it done exactly like the CSS below
...
0
votes
1
answer
34
views
super inconsistent animation in css and javascript
I want to make a scrolling button, where the text part scrolls out when you hover on it and scroll back when you stop hovering, but the animation is really inconsistent.
This code works on the first ...
-4
votes
0
answers
25
views
Make CSS grid child span entire container [closed]
I have a grid setup with max-width for cells set so that starting from big enough screen it is position in the middle with space around using justify-content: center;:
Is it possible to somehow make ...
-3
votes
1
answer
44
views
Support for CSS nesting in Visual Studio 2022 [closed]
Out of the box, Visual Studio 2022 does not seem to support CSS nesting in plain .css files.
Nesting declarations such as:
.selector {
.child-selector {
}
}
Triggers intellisense warnings and ...
1
vote
0
answers
12
views
Module not found: react-refresh/runtime.js falls outside of src/" Error When Compiling React App on Ubuntu
I’ve developed a React and Node.js application that compiles and runs smoothly on Windows. However, when I try to run it on my Ubuntu server, I keep encountering the following error:
Module not found: ...
-1
votes
0
answers
14
views
How to center elements of angular material grid list
I already searched on this topic and found this however this doesn't seem to work.
What I am trying to achieve is to center the elements of each row if there are less elements than the row allows e.g. ...
1
vote
0
answers
7
views
how change z-index b-modal bootstap vue
<b-buton v-b-modal.my-modal>Launch demo modal</b-buton>
<b-modal id="my-modal" class="my-modal" title="BootstrapVue" style="z-index:9999 !...
1
vote
1
answer
25
views
How to adjust the width and margin of Sortable's rank lists?
Is there a way to define the ratio between the width of ranked list (drag from here narrow, to here wider) that are horizontally aligned? Can we adjust/reduce the space between the two lists?
Example ...
0
votes
0
answers
29
views
How do I make local development in rails not use cached assets?
I am having an issue with compilation of assets in my local development - they are no longer found. I am not sure how it came about, but if I run rails assets:precompile then the latest of my ...
-1
votes
1
answer
37
views
Flexbox not resizing
I'm working on a responsive design using flexboxes, but I’m facing an issue where, when I shrink the window, my content gets cut off, and a horizontal scrollbar appears. How can I make the design ...
-1
votes
1
answer
41
views
Styles defined in <FRAME> affect parent page
I asked Gemini about styles defined in a <FRAME> element and the answer was quite clear that they are isolated from the parent page, answer here.
However, I did a simple test and a class defined ...
1
vote
2
answers
28
views
I've created a snake game in Phaser, but there's a minor issue:
when the snake moves, it looks like it 'jumps' rather than moving smoothly. How can I fix this?
Below are some functions I've implemented for my Phaser snake game: update, move, setBodyPartTexture, ...
1
vote
0
answers
20
views
Applying scroll-snap-type on view-timeline based animated scroll
TL;DR: in this jsfiddle https://jsfiddle.net/kLp728xw/, I want to apply scroll-snap not only on vertical scroll as it already does, but also on horizontal scroll where the number 1~5 is shown.
I want ...