806,950 questions
-2
votes
0
answers
13
views
Move an HTML element to a new line [closed]
I recently encountered a problem: I need to wrap an HTML element to a new line, but this element has the display: flex property. In normal cases, I know that if I add the flex-wrap: wrap property, the ...
-4
votes
0
answers
39
views
html nav bar work only first time on chrome browser [closed]
First time run work on chrome browser,
my main menu (top nav bar will fixed on view area)but when i switch another page ,
then the mainmenu not work.
my project git
https://github.com/a68727739/...
1
vote
1
answer
74
views
Why is my Div moving to the right on mouseup?
I'm trying to animate an image move to the middle of the screen, zoom in, and become fixed when pressed, and then go back to where it was before when let go. However, the height and width are not ...
0
votes
1
answer
29
views
How can I fix a dropdown menu that is misaligned and overlapping in Elementor ElementsKit?
I am working on a WordPress website using Elementor and the ElementsKit plugin.
I am trying to fix a dropdown menu that appears misaligned and overlaps with other navigation items.
I added custom CSS ...
8
votes
1
answer
207
views
Non-sticky div inside sticky div
I have a component on my website that looks somewhat like this:
body {
color: #fff;
font-family: arial;
font-weight: bold;
font-size: 40px;
}
.main-container {
max-width: 600px;
margin: 0 ...
0
votes
0
answers
20
views
why ng2-pdfjs-viewer div gets displayed beyond the wrapping div
Environment: Angular 17.x
Problem: The ng2-pdfjs-viewer div gets displayed beyond the bottom boundary of wrapping div. Please see attached screen shot.
Tried changing the div height of wrapping div of ...
-8
votes
0
answers
76
views
Problem with visibility of elements on the website [closed]
Like I mentioned in the title I wrote a script for AI Assistant and I have a problem with layers. The layout beneath chatbow window is visible for user. I want to prevent it and maintain all the ...
0
votes
1
answer
61
views
Tailwind index css styles override class styles [duplicate]
I would have an index.css file that would set some initial styles like:
h1, h2, h3, h4, h5, h6 { @apply text-gray-800 }
and in few instances would like to set
<h6 class="text-primary-500"...
1
vote
0
answers
35
views
How to prevent scrollable container from stretching parent in flex layout
There's a problem I constantly run into when making flex layouts: if I have a scrollable container somewhere, it's contents will be factored in parent size calculations and potentially cause it to pop ...
-4
votes
0
answers
55
views
How do I target exactly one instance of an adjacent element with uBlock Origin? [closed]
Issue
I am working on a uBlock Origin filter, (ie: a CSS selector), for a webpage containing .post elements separated by <hr> tags. For example:
<div class="post" data-source="...
-2
votes
0
answers
53
views
How to keep a positioned image in the same place regardless of screen size? [closed]
I have these Teeth images I want overlaid on my main site area that I want to stay in the same place no matter the size of the screen or if you scroll. I have tried making a container that is ...
4
votes
1
answer
75
views
backdrop blur is blurring th border
how do i make the blur to ignore the borders?
i want it to show the border; i dont mind the blur black background
table {
border-collapse: collapse;
}
th,td{
padding: 4px;
border: 1px solid ...
0
votes
0
answers
30
views
Semi-transparent button not hidden by sticky element [duplicate]
I have a page with several buttons, of which some are displayed with an opacity less than 1. On this page, there is also a div that is sticky.
When scrolling the page, the buttons with opacity 1 are ...
2
votes
1
answer
75
views
How do I target hyphen-separated attribute values with CSS?
I have an HTML element with an attribute that contains hyphen-separated values:
<div data-tags="34-446-15-2915-159"></div>
I want to write a CSS selector that matches when a ...
1
vote
0
answers
53
views
How do I add a CSS file to a SpringBoot .jsp file? [closed]
I'm trying to add some basic CSS to a Spring Boot project, my style.css is under the right directory, but it's still not showing up on my webpage.
I previously tried to link it like this:
<link ...