Category "css"

Javascript print function not working inside a modal

I want to print data from a pop-up modal on my website, so in the footer of the modal, I added a print button. (The extra divs at the end are from code above):

CSS Style Disappears on Form Button Click

I have a side panel menu that is styled how I want, along with a top nav bar. When I press the add button the form gets submitted but the style disappears on th

my html and css not linking when using 'url_for'

I am creating my first project in web application using python flask. Now I'm working with my html, but my css is not linking to my html when running with flask

Adobe Illustratore delete my class names on svg images. How can I prevent this?

I have this svg image: <svg width="160" height="250" xmlns="http://www.w3.org/2000/svg" class="sovog"> <path class="antenna-left" d="M76.782 25.

adding dynamic class name in svelte

I am currently writing an app with svelte, sapper and tailwind. So to get tailwind working I have added this to my rollup config svelte({ compilerOption

how to change color of navbar when scrolling to bottom?

I have 2 probelems. Problem-1: I am trying changing navbar background color when scrolling to bottom. I am trying to add the class but it couldn't override the

Stylesheet not loaded because of MIME-type

I'm working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes. The gulp task compiles everything properl

Vue.js 2 - Remove initial margin from body tag

My apologies if this is a stupid question, I'm still pretty new to Vue. I created a Vue (with the command vue init webpack <project-name>) project and sta

How to add class name to an existing tag in php

I have a hidden tag in html code: <p class="class1">something<p> and php code: if(SomeCondition){ select element by DOM and add class "active" so

Bootstrap5.1.0 Navigation Bar collapse not shown up in mobile phone screen

I just did a simple test on Navbar with Bootstrap5.1.0 in CodePly.com. I have already chosen the Bootstrap5.1.0 as my framework. I wrote the following codes: &l

how to change anchor tags position, when I hover over it?

How to change position of anchor tags on hover? I have tried many things like setting position to relative and then using top,bottom,left and right, setting the

Textarea 100% height inside td by css

I want this textarea to be fit inside the table row, by its height & width, so I have used height: 100%; width 100%; on textarea and my decided height width

Javascript and JQuery not working properly in my website project

Js and jquery are not working properly, the menu-toggle button does not work in responsive mode. the carousel (using slick) is not working properly in full page

Make YouTube video autoplay using React

I am trying to make my video autoplay using react. adding autoplay=1 as a parameter doesn't work. Any suggestions?` Here is my code. <div className="vide

Bootstrap 5 Carousel Slide Indicator Not Working

Currently, I am working on a carousel for a revamp of my mom's website, and everything besides the functionality of the slide indicator is working. Whenever you

A click in iOS Safari triggers a "hover state" on element underneath where you tapped

On iOS Safari 11, if I have a <div> positioned over an element that has a :hover effect, and the <div> has an event that makes it disappear when cli

Class isn't changing color on hover on the whole paragraph element

I've got an issue while I'm trying to change my <p> colour in hover. The non-hover colour works with the class, but in hover, only the fa icon changes col

How fix div which includes span tag for responsive?

I found a neon graphics format and I want to use it. It looks exactly what I want, but not responsive .When it goes into phone mode, the text goes out of the p

Bootstrap 4 - Reboot.scss overriding Global.scss

I am using Sage Starter Theme and I am adding some CSS to style the links globally in the _global.scss file. Some of the CSS properties are being overridden by

PrimeVue Menubar

I created a drop down menu with menubar. However I have custumization problems : The transparency is well done, but the size of the horizontal items is too high