Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I am writing an R Shiny app and use CSS to format the buttons on the header and footer of the page. I am running into a sticky situation with the Upload button, where no matter how I configure, it ...
Phi Yen Nguyen's user avatar
-2 votes
1 answer
30 views

I'm trying to apply a simple hover effect to a <div>, but nothing changes when I move the mouse over it Here is my exact code: .btn { width:150px; height:50px; background-color:green; } .btn :...
Ashutosh Beura's user avatar
-3 votes
1 answer
30 views

Hello! just trying to figure out what is going on here. I am trying to understand in a comprehensive way, how all this works (I am an experienced one but always with some doubts about the things ...
qAutHorp's user avatar
0 votes
0 answers
79 views

I am trying to recreate Ethopia flag using HTML and CSS but I am unable to do the middle part of the flag. The star inside the circle is not coming as expected. HTML and CSS I have applied: body { ...
Anitha Kode's user avatar
-1 votes
0 answers
21 views

Here is my exact code: .btn { width:150px; height:50px; background-color:green; } .btn :hover{ background-color:red; font-size: 19px; color: white; } <div class="btn">SIGN UP</div>
Anmol's user avatar
  • 11
-1 votes
0 answers
63 views

I am trying to apply simple CSS to a paragraph but the styles are not being applied. The CSS file is in the same folder as the HTML file. Here is the minimal code: <!DOCTYPE html> <html> &...
Radhika Sharma's user avatar
1 vote
2 answers
59 views

I'm trying to make a progress bar that has a transition animation. Think: a multi-page wizard, and when you advance to the next page the progress bar animates to the next step. When the progress bar ...
Ivan Rubinson's user avatar
0 votes
0 answers
80 views

Take the following HTML: <ol> <li>one</li> <li>two</li> <li>three</li> </ol> Is it possible to set the gap between “1.” and “one”, which is the ...
twhb's user avatar
  • 4,624
1 vote
1 answer
36 views

How to configure VScode to keep CSS rules with only one property on a single line when autoformatting? Here is the expected result : .p-auto { padding: auto !important; } .px-0 { padding-left: 0 !...
Merlin Chatou's user avatar
-3 votes
0 answers
30 views

Out of the blue today, I noticed that the css for my footer had changed. When I used the inspector, I saw that an older version of style.css had been loaded (for the footer only). The latest version ...
ajumbz's user avatar
  • 27
0 votes
0 answers
24 views

I want to change background color of "maincontent" div element to red when I clicked check box, which is in header tag of my HTML page. please give any idea how to do that. <!DOCTYPE html&...
JagathNalin's user avatar
-2 votes
0 answers
41 views

HTML: <div id="div-area"> <p id="title-div1"> Find pages with... </p> <label> all these words: <input type="text" name="...
Akshaj Singhal's user avatar
Advice
0 votes
0 replies
44 views

Graphic designer designed this component that should display forms and messages like an auth form... I'm a bit confused on how should I code the top right border... I was thinking a simple border-...
Patrick Ferreira's user avatar
-3 votes
0 answers
33 views

I'm a junior web developer and I want to create a portfolio website using Bootstrap 5. When it's finalized, I want to add animations using AOS JS. However, when I add these, the website doesn't ...
Adjie Pradana's user avatar
Advice
1 vote
2 replies
114 views

How would I go about, in an HTML webpage, having a random file in a specific directory be selected in a src? My intent is to have a randomized audio file autoplay whenever I open any webpage on my ...
utternovice's user avatar
-1 votes
0 answers
50 views

I’m trying to animate a div when a button is clicked. The class is added correctly, but the animation doesn’t run. Here’s my minimal code: function toggleBox() { document.getElementById("box")....
Ayush Raj's user avatar
0 votes
0 answers
48 views

Problem I have a mobile sidebar with a dark overlay (backdrop). When the sidebar is open and the user scrolls inside the sidebar, the overlay disappears or becomes unstable on Chrome mobile (Android). ...
Sajokrit's user avatar
Best practices
0 votes
2 replies
65 views

I got a layout that is two columns where the right column will contain some text and a header. The header should also have the possibility to either remain in its column or span across both columns ...
Vanhorn's user avatar
  • 442
2 votes
2 answers
118 views

Always I reload any page happens a quick flash that changes the entire system to dark mode and comes back again, but really quick. Before, this was happens also on dark mode too, but I could fix it ...
Samuel Franklin's user avatar
0 votes
0 answers
25 views

How can I clip table rows under a header with rounded corners when scrolling? When the table scrolls, the rows slide under the rounded corners of the header. Since the rows have regular (non-rounded) ...
Nysha's user avatar
  • 1
3 votes
2 answers
71 views

I am new to web design and basically made a gradient outline for my button. I am trying to make the button and the gradient background behind it appear together with an animation. When I do this ...
Azif's user avatar
  • 33
0 votes
1 answer
43 views

I am using the following rule globally: *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } But from some reason the buttons are content-box, even though there is no ...
pileup's user avatar
  • 3,472
4 votes
2 answers
75 views

To simplify a complex CSS issue, I’m trying to place three elements inside a vertical flex container: two fixed-height divs, and in the middle a div that should keep a specific aspect-ratio. Here is a ...
Quentin Lerebours's user avatar
0 votes
0 answers
34 views

I use the PrimeNG OverlayPanel to display popups in my Angular app. I noticed that for the same content, it sometimes displays a scrollbar and sometimes does not. As you can see in the screenshots, ...
SimonD's user avatar
  • 1,567
Best practices
0 votes
2 replies
78 views

I wish to display in an html page and control its scrolling, the image of a pdf hosted on a server. I am currently using Mozilla’s pdf.js scripts, which work well for pdf files stored on my computer. ...
jean-marie Detrey's user avatar
-2 votes
0 answers
23 views

My layout consists of blocks, each block contains images. Blocks as well as images should wrap if needed to take up the least amount of space possible. It needs to be responsive and fully dynamic. I ...
Beta Carotin's user avatar
  • 1,675
-3 votes
3 answers
160 views

This is a incomplete website design I have been working with. The problem is when I reduce the width of the browser the triple dash appears but for some reason the checkbox becomes unclickable. I ...
Kraker's user avatar
  • 35
3 votes
1 answer
54 views

The Problem I am using ECharts and I need the chart to take up the full width of the container. Therefore, I set grid.left and grid.right to 0. However, this causes the first and last labels on the x-...
yym xtxd's user avatar
0 votes
0 answers
72 views

I’m trying to deploy my personal website to Vercel using Vite + React + Tailwind CSS. The project builds and runs fine locally (npm run build works without errors), but the Vercel build fails with the ...
Vinicius Almeida's user avatar
0 votes
0 answers
77 views

I've got some short flexbox items and some long/tall items in a multi row (flex-wrap) container with flex-direction: row. Depending on which row they appear in, I'd like to align the short items ...
EoghanM's user avatar
  • 27.4k
5 votes
3 answers
117 views

I have a Grid with two columns and 4 rows. The grid-areas are as follows grid-template-areas: "v p" "v o" "v t" "m t"; I have one Item per area. So my item v (...
Sebastian's user avatar
  • 569
3 votes
2 answers
71 views

I put my list-style into the CSS code: .contentsT { justify-content: space-evenly; flex-direction: column; list-style: url('zvezdica.webp'); } <ul class="contentsT"> <li> ...
mozzarella's user avatar
3 votes
0 answers
99 views

Thanks for the help in advance. For the life of me, I cannot get a particular scroll animation to execute which utilizes gsap and lenis. I've assembled the code to the best of my ability: https://...
Charles K.'s user avatar
-1 votes
1 answer
47 views

In a Plotly Dash application I'm trying to use the horizontal space optimaly. There are four columns in the first row. Right now this is what I have: from dash import Dash, dcc, html, Input, Output, ...
Clodoaldo Neto's user avatar
2 votes
1 answer
62 views

I’m trying to build a glass-style pill component with text inside it. What I want: the text uses mix-blend-mode exculsion the pill has a semi-transparent background the pill applies a backdrop-filter: ...
mattmart's user avatar
  • 125
3 votes
2 answers
37 views

I want to make the background-color of a <div> to be the same colour as the track colour of its scrollbar, which I've not changed from the default. Is this possible? This works, but I was ...
FrinkTheBrave's user avatar
2 votes
1 answer
72 views

I have a table (in a div with an id) and I want to apply styling on it (to collapse its borders) using CSS's universal selector combinator (*) and all of the div's descendants (in order to isolate the ...
atanas's user avatar
  • 23
5 votes
1 answer
62 views

I'm trying to create a hand of cards effect where the cards overlap each other, similar to how cards look when you're holding them in your hands. I'm using a flex container to center the cards ...
Hans Blanco's user avatar
0 votes
0 answers
66 views

I’m trying to create a header layout with a specific curved shape. The small squares are SVGs, but I can’t reproduce the curved blue border using CSS clip-path. Here is the path I want to apply to a ...
nevado2's user avatar
2 votes
1 answer
73 views

I am wondering if you could automatically create a list in the following format: A. I. 1. a) aa) (1) (a) (aa) etc. etc. Could anyone help me accomplish this? I am asking for my Anki-template I ...
Laura Sophie's user avatar
1 vote
0 answers
58 views

I've tried to create a custom cursor for mobile devices, but when the page is scrollable, the custom cursor doesn't follow your finger properly or it drops frames. Has anyone succeeded in creating a ...
Geovanne Costa's user avatar
Advice
2 votes
4 replies
66 views

I need the native pinch-to-zoom gesture in mobile browsers to behave like true browser zoom: when the user pinches, media queries should reevaluate and the layout should reflow. At the same time, the ...
leteli's user avatar
  • 1
0 votes
2 answers
55 views

I'm trying to implement dark mode in my Next.js app using TailwindCSS. However, TailwindCSS's dark: classes are not being applied, even when the .dark class is present on the <html> tag. global....
Abhinav Shinde's user avatar
1 vote
3 answers
194 views

I have a simple HTML page with an input element: input { outline: none; } input:focus { outline: none; } input:focus-visible { outline: 1px solid black; } <input /> My goal is to remove ...
user20042604's user avatar
-1 votes
0 answers
44 views

I am using Radix theme https://www.radix-ui.com/themes/docs/overview/getting-started and I am specifically using the Table component. I want to override default styling for just the Table.Header ...
michaelNL's user avatar
0 votes
1 answer
152 views

I have a sticky bar on the right side of my page and I want to animate its top property (and height) to nicely fit its transition to disappearing announcement bar at the top of the page. Below video ...
Ugus's user avatar
  • 255
0 votes
0 answers
76 views

My goal is to create a section with a title, a left-aligned logo, and a colored background. The logo and background must also be enclosed in a border. Something like this: The correct alignment is ...
samiel's user avatar
  • 1
-1 votes
0 answers
79 views

I have a web carousel on a site I built (here) that slides automatically (although you can also use controls to move through the slides manually). It works fine on all browsers, and manual controls ...
amyK's user avatar
  • 33
-3 votes
0 answers
71 views

In Elementor 3.32 Pro, the builder now fully respects the user’s reduced-motion preference. This means that no Motion Effects are activated when reduced motion is enabled. I manage a school website, ...
Bosscoe's user avatar
-3 votes
1 answer
128 views

I'm currently working on my bachelor's project, I downloaded the Stardew Valley Title font to use it in my Web Game but I'm having problems getting that wooden texture. Here is how my title related ...
ALIMEROUANE BERRABAH's user avatar

1
2 3 4 5
16147