Category "css"

Get interactive html/css from Adobe XD

I'm using Adobe XD from the first time, I'm working actually on an xd created by a designer to export HTML/CSS scripts to be injected in the web application (Sp

humberger menu stop scrolling main body css

I am trying to implement a hamburger menu. My expectation is when I will click on hamburger menu then the whole screen will contain only hamburger menu and ther

Vue JS Transition not working Nuxt JS Project

This animation working Vue JS project and not working Nuxt JS Project. What could be wrong with my code? My animation code is like this. <transition name="fa

locomotive scroll disable the scroll of my page

When I put this function : const scroll = new LocomotiveScroll({ el: document.querySelector('[data-scroll-container]'), smooth: true }); The scroll of my page n

Is it possible to use Emmet in a blank CSS sheet, outside of a selector?

I am currently making my live easier with various custom emmet short forms for code I use a lot. So I tried to make something like the ! in html for CSS so that

Everything on my pages works fine on VScode's live server but not on local

When previewing my pages with a live server everything works fine. but when I tried to open my index file from local it didn't show CSS or anything. and when cl

Flex inside flex causing orientation issues

I am new to Web Development and React (and fairly amateur at CSS), so there must be some fundamental issue with my understanding of how flex works. With referen

Change background color in Bootstrap 5 multi level dropdown menu

anyone tried to changed the background color in multi-dropdown menu in bootstrap 5? the original code is here https://bootstrap-menu.com/demos/multilevel.html I

Creating a centered carousel with react-alice-carousel

I have struggled the whole day to create a centered carousel with react-alice-carousel library and the results are those. Link to the library here Basically I a

How can I use javascript to hide by default the navigation links in my navbar on small screens?

I set up my navber using tailwind css and was able to make it responsive. When viewed on a smaller screen the navigation links are displayed underneath each oth

How to have my css navbar be proportional to the page

My (epic) navbar gets messed up when the window is to small, how can I have it shrink proportionally to the page? I've tried a few things but it just shrinks th

CSS Background Image using url() Not Displaying

I recently have being following this tutorial on youtube https://www.youtube.com/watch?v=FazgJVnrVuI and I am up to a part where I am adding images (around 1 ho

Switch active buttons using useState and useEffect Hooks for Buttons in JavaScript/React?

I am trying to write a useState() Hook, and perhaps add useEffect() to solve active state on two buttons. It is Delivery buttons that needs the first button-del

Inertia compensated mouse position in Javascript

I am attempting to add an inertia type effect to my parallax background which is based on the current mouse position. I have found a script that can take the po

Responsive website is not working mobile devices

I am having big trouble with my website as it is not being responsive. I already included the required script for adjusting page to device width on the html :

JQuery UI not applying custom style sheet

Not sure what is happening i have notice that our live site vs a dev enviroment the style sheet shows just fine in the head and in the network traffic - however

Display as much elements as it can fit in one line, and if not all of them can fit add additional element that represents number of remaining elements

I would like to align all tags for a given article in one line. If all the tags can fit in one line, then I want to display all of them, like this: But, if the

Need a Click and Drag solution using Vanilla Javascript without jQuery

I have to do a click-and-drag solution for a background image in Vanilla Javascript for a project. I found this solution using jQuery in Codepen. Can anyone hel

Why can't I scroll left on my webpage that I've wrote with HTML & CSS when I decrease the width of viewport?

I've done a project from frontendmentor.io (stats-preview-card-component) with HTML & CSS. Everything work well but when I decrease the width of viewport in

Change Background Color based on the selected Type

I have this <Select> to choose which type they want to input <select class="form-control" id="exampleFormControlSelect1" v-model="exType"> &l