Skip to content

Tag: css

How to make navbar change color on scroll?

I have a transparent nav bar which on scroll is transparent. This means that if i were to scoll to a place that did not have a solid background color it would clash with other elements such as text. I would like to transtition into a different color to make it stand out more (including making the logo and a

Undefined Range Value

For context, I’m just learning JS. On my web-page, I want to have the option to create new range-inputs that are interactive. I also want to use the values of the ranges for an equation. Right now, I can add the ranges themselves fine, and they work, but the values of each range returns as undefined. I …

unable to add a border to popup modal

I am using a Popup modal component from the reactjs-popup library. This is how it looks like: I want to add a thick black border to the popup component. How can I do so? My current css doesnt seem to work. Answer You need to set border-style: solid; the default is none. (maybe border-width too)