Category "css"

My ::after hover effect is covering my Anchor text

Im trying to make a simple hover effect, but when i hover on the div, the ::AFTER background color covers the text but I want the text to come on top of everyth

React & CSS: How to override :root in css module in React?

Short question. I'm trying to build a theme selector for an app and was wondering how to change the :root of a css module in a press of a button in jsx.

parcel-bundler won't install

new to web development and came across this error message while trying to build for production in the terminal. Tried entering: parcel build index.html Error me

height vs min-height same value different result

As i understand vh unit is related to view-port not document content.but when i used it with flex container it behave strange like in following example. Run cod

Center a div to the right of an image inside a header

I want a header with an image attached to the left and a div with some text inside, to the right of this image. The div must contain horizontally and vertically

Why my menu is merging with the input field ? I want it to be responsive

I am new to HTML CSS, can anyone tell me what am I doing wrong? * { box-sizing: border-box; margin: 0; padding: 0; } :root { --pink: #ff6161; --w

How do I center of this whole div class? Same with hovering

I was trying to center these div class using margin but when Im looking at the mobile view, its overlapping. I wanted to do to make it responsive by itself

I can't add labels to svg path

I want to add a custom-styled label to my object. this is my code of SVG: <svg height="512" version="1.2" viewbox="0

css overlapping background image with header

I am trying to make header with background image on it. This is the url :https://aionnyc.gogroth.com/specials/ Below is the URL of my implementation: https://ht

Element not appearing on hover

I made a basic website header and the respective menus should appear when you hover over the options but it doesn't work. When hovering over the options "Home"

button class with :focus does not show outline

I want to show that buttons have focus, especially when accessed by keyboard. I can tab to the buttons and Developer Tools shows that the button has focus. But,

Form input checkbox and file type isn't functioning

I'm trying to make a form for adding a blog page. I have title form, date form, content form, checkbox for blog category form and image form for the topic image

how can i fix pagespeed score when base64 font is treated as unused css

I embedded the font file directly into my css file in fontface as base64. Besides the font, I have about 150 css lines there. The pagespeed claims 60.5 KiB of 6

justify-self propety doesn't work in bootstrap's navbar [duplicate]

I have a basic bootstrap header here: https://codepen.io/yan14171/details/KKQNoYW <nav class="navbar navbar-light" id="navbar"> <a

How do I change the font size and color of a TreeView?

Give style like this: const style = { overflow: "auto", backgroundColor: "#292929", color: "blue", height: 650, width: 1, flexGrow: 1, fontFamily:

Text showing behind logotype and menu

I'm a complete beginner, trying to make html and css work for me, and I need help! I will have a go at describing my problem in English. In my top left corner I

how can i change the gap of only element

i am creating something with css flexbox and use gap to give spacing between elements but now i want to change the spacing of only one element like .contain

Vertical Media Queries Not Working (Resize Elements Based on Height of Screen) -- Viewport issue?

I'm working on a web application that's meant to be used exclusively on phones (of various sizes). The application includes various buttons that I resize based

Coordinate overlapping components to scale together

Attempting to create a higher-order component with two components that scale together. The higher-order component is set up as so: <> <Component 1/

Navbar isn't turning red when I scroll down

I am trying to make it so when I scroll down in my webpage it will turn the navbar red. when you are at the top of the page it blends with the background but wh