Skip to main content
-2votes
0answers
15views

i want to center my footer but its not working?

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Guide to help with Mental Health | Website&...
Kishen Chohan's user avatar
0votes
1answer
21views

Responsive sidebar filters overlay on mobile and static on desktop with Tailwind CSS & Alpine.js

I’m trying to build a self-contained example of an e-commerce “Product Search” layout where: On mobile (width < 768px) – the filter sidebar is hidden by default, slides in from the left over a ...
Carol.Kar's user avatar
1vote
1answer
25views

CSS button color can't be override by parent

Consider the following HTML and CSS codes: <div class="red"> <button>Should be red</button> </div> .red { color : red!important; } I can't figure out why the ...
Beautiful Css's user avatar
-1votes
1answer
36views

"Log in" button doesn't hide after registration or log in

I want to make the log in button disappear after you're signed into your account, but I can't seem to get it right. I've tried with localStorage and sessionStorage, but neither have worked. What am I ...
Andrés Mooser's user avatar
0votes
0answers
33views

Functions only working once/ for only one id at a time

I'm currently creating a Simple Pomodoro timer. I have a function to start the countdown, and it only works on the first 25 minute timer. When I use it for the others (break times), it does not work. ...
viio's user avatar
0votes
0answers
9views

How to make the width of element equal to the width of its containing text and still keep correct line breaks? [duplicate]

I am making a cover page and need to center align the content on the page. However, I wish for the text to be left aligned within the center aligned container. The problem is that the container (...
Oscar's user avatar
0votes
0answers
44views

How to prevent the form from being sent if the date the user gave is greater than the current date [duplicate]

If today is 04/27, the user can input today and previous dates but not 04/28. if today is 04/28, the user can input today and previous dates but not 04/29 and so forth. This is the form (without ...
Alejandro González's user avatar
0votes
1answer
31views

Variable in custom property

Is it possible to add variable to custom property in css? As task from work I need to add possibility of color changing to already existing element in application. Element is using custom property for ...
ChrisB's user avatar
1vote
3answers
52views

why my display: flex wont work.. (HTML CSS problem)

Click here to see the preview enter image description here The "title" is rendered a little too high. As you can see in the code, I was using flex on titnav and mainnav, yet they won't align ...
Tio's user avatar
  • 11
0votes
0answers
22views

createTheme for theme.tsx has issue

This is in my theme.tsx: Const baseTheme: Omit< ThemeOptions, | “properties1” | “properties2” > export DarkTheme = createTheme({ …baseTheme, …themeDark, palette: { …baseTheme....
david scholar's user avatar
0votes
0answers
24views

How do I make Thingsboard Markdown html value function card responsive like the rest of default thingsboard value cards. I need it to be responsive

var totalTRH = 0; ctx.data.forEach(function(_data) { if (_data.data.length >= 1) { _data.data.forEach(function(value) { totalTRH += parseFloat(value[1]) || 0; }); } }); return ` ...
Ujal Kshetrimayum's user avatar
0votes
4answers
109views

How do I prevent the form from being submitted if there are errors present, and how can I delete the warnings when I press the reset button?

I have to make a form, validate it and if everything is OK, submit it (it doesn't have to go to a server). If not, the form is not sent and it indicates the errors. The form has both mandatory and ...
Alejandro González's user avatar
-2votes
0answers
22views

How do different browsers determine the baseline position for replaced elements like images? [closed]

While working with vertical alignment of images, I noticed that the CSS specification doesn't explicitly define how the baseline of replaced elements (like img, video, etc.) should be positioned. The ...
kke's user avatar
-3votes
0answers
20views

Curved HUD with CSS [closed]

I wondered if it is possible to distort a div with CSS to create a curved Heads up Display like in the screenshot? I am not aware of any curving transforms, but wonder if there are any tricks to ...
Johannes Klauß's user avatar
2votes
1answer
47views

I need CSS rules for theming where I want to show one theme inside another theme

Using following code: <body> <div class="style_a"> <div> <div>BLACK</div> <div class="text">RED</div> ...
Klaus F.'s user avatar

153050per page
close