Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
52 views

How can a menu sidebar be toggled / collapsed by default in HTML / CSS / JS?

I have downloaded html5up's Editorial template and I'm trying to collapse the menu sidebar when the page is first visited. As shown in the screenshot below, clicking on the blue three-bar icon toggles ...
ToddP's user avatar
  • 744
2 votes
1 answer
60 views

Why does the style property in JavaScript work even if I didn't select the element (didn't make the variable)? [duplicate]

So, I was doing a lesson on Scrimba about JavaScript, when I were told to do this JavaScript challenge involving the style property. But I forgot to select question via document.getElementById(). ...
Jonathan Levi's user avatar
1 vote
0 answers
94 views

How to fix this resizable component in React?

React Element Resize Not Working I'm trying to implement a resizable chat container in React, but the resize functionality isn't working properly, already spent half of a day. I suspect the issue is ...
Ks1neee's user avatar
  • 13
-3 votes
1 answer
51 views

Why is a Swiper.js slide with a link not clickable when the Navigation module buttons are on top?

I make Swiper.js slides containing a link to the slide specific page, but also use the Navigation module of Swiper to be able to slide through the slides. I don't know how I can overcome the issue ...
Diorcula's user avatar
  • 119
0 votes
2 answers
173 views

How to vertically scroll child elements based on mouse position entering parent container?

I have a parent div whose height can vary based on window vertical resize. That parent div needs to employ overflow-y:scroll for sought functionality. The parent div contains 8 child divs of various ...
animDan's user avatar
  • 27
-3 votes
0 answers
63 views

Shadcn sidebar gap

I have created a sidebar in react router. When I place the side bar in other pages, it works fine. When I place it in the root file, it has a gap that I can't seem to figure out. I have played around ...
jayC's user avatar
  • 1
1 vote
1 answer
55 views

Nativewind classes being removed with Storybook

I am using nativewind for a UI library I am working on. I am using Storybook for React Native web with Vite as the bundler. The problem is my styles are not applying. Not the tailwind variables or the ...
Ethan's user avatar
  • 1,842
0 votes
0 answers
43 views

Invalid left-hand side in assignment of x.style = [duplicate]

Background: I have an ordinary HTML DIV box. which contains some text and a table. It's a wide table, too wide for cell phones, so there is an option to hide some less significant columns to reduce ...
WayneF's user avatar
  • 267
1 vote
1 answer
56 views

How to prevent text highlight while keeping drag functional [closed]

I'm following this tutorial: https://learnvue.co/articles/vue-drag-and-drop The final result is that I can drag the elements once I've highlighted the text that they contain. (e.g. if I highlight the ...
Rhombus17's user avatar
0 votes
1 answer
74 views

How to not trigger Firefox's strict Content Security Policy by my extension

I am currently contributing on an extension, and the main problem is that on Firefox, the CSP is being triggered, which causes quite a few issues. Mainly it seems to block the injection of dynamic CSS,...
System_Error06's user avatar
2 votes
1 answer
140 views

Trying to create a trail effect when the mouse pointer moves

I'm trying to create a mouse "trail" effect on mouse movements. Expected result: A example short (video) example provided below: https://drive.google.com/file/d/1ut8fWVrc7dsY1qboVxEUz-...
Raihan89's user avatar
-8 votes
3 answers
144 views

How can I create transitions between different webpages on my website? [closed]

The question is as the title states. I'm attempting to create transitions between pages in order to spruce up my website. Particularly, I'd like to be able to have the page content slide off-screen (...
daedalusmachine's user avatar
1 vote
3 answers
106 views

Fill in all remaining spaces of the parent element with HTML child elements and enjoy [closed]

I'm not good at English, so my words may sound strange. sorry. I am currently writing a program that receives data and draws a chart, but the chart section at the bottom is full screen, leaving a ...
hograto's user avatar
  • 37
0 votes
0 answers
42 views

Expo + Nativewind CSS Varibles Not Working on iOS

I am working on a UI for my react native app. It uses Nativewind for styling. I need the ability to use CSS varibles in my classes. I followed this Medium post to do this since the official docs where ...
Ethan's user avatar
  • 1,842
3 votes
1 answer
93 views

blank space on html css js

My goal is to create a website that implements horizontal scroll using GSAP, especially for the #home and #features sections. That’s why I placed them side by side using flex row, extending beyond the ...
abdee code's user avatar

15 30 50 per page
1
2 3 4 5
14739