Skip to content

Tag: css

How do I stack buttons on top of each other [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. Improve this question In a p…

My Device is Slow on Running CSS Transition Code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

How to properly use Modal in Fluent UI

I am new to React and Fluent UI, I loaded all my files from CDNs, when I tried execute the following code, the modal didn’t open. Please tell me what I am doing wrong here. I searched up examples but wasn’t able to find one. Here is the code: Thanks in advance Answer If you use isModalOpen = true/…

Trying to duplicate flexible banner as seen in video

Im trying to duplicate something like what is shown in the video. I have 2 blocks of div. One containing a random image and another a video and im trying to make them flexible and identical as possible to the video. How can I approach this? I tried using flex box to align them horizontally then media query th…

How to change active class of the navbar on scroll

I tried every js code that I only could find, but nothing works, I don’t understand why, I checked console, no mistakes there. Maybe somebody can spot the mistake? Maybe I have to import some files or something else? Somehow code does not see the scroll, only when I click on the link. Is there a way to …

Convert NodeList to Array for a Stepper to work with IE

I want to create a simple Vanilla JS horizontal stepper without the addition of CSS or JS libraries. I have found this example but it doesnt work with IE browser. The problem is the following line: where he is converting the NodeList of ‘divs’ with class .bullet to Array. Is there any way to make …

Reset old card flip when flipping a new card

Is it possible to automatically flip the old card back when you flip a second one? I have this JSFiddle which I found in this question. I looked around the internet but couldn’t find any solutions to this specific problem. It might be similar to this. Hope this could help 🙂 I’d like to add a butto…