Ian Webb · Stack Overflow

Score of 3

1 answer

70 views

Align all dates and names in a list

I'm trying to make a list of blog posts, with the date of the post before the name of the post. I've embedded it in a list, like so: <ul> <li> <time>2020-01-01</time&...

  • reputation score 327

Score of -4

0 answers

71 views

Content block builder [closed]

I have a question about the way how to organise the storing data for the pages across multiple different Server-Side Rendering (SSR) environments. I just want to have a single format of data and ...

  • reputation score 1

Score of 1

1 answer

134 views

How can I customize keyboard behaviour in HTML select menus?

Is there an API that lets me decide how selecting via keyboard works in an HTML menu, or a way to hint about localization to the user agent? The desired behaviour is often locale-dependent: for ...

  • reputation score 8701

Score of 1

2 answers

254 views

How to make an animated menu icon show/hide menu

I'm trying to make the animated menu icon open ☰ and close X the menu links. Instead of making two separate buttons, I can just code it in one button. I've managed to give my menuIcon an onlick ...

  • reputation score 49

Score of 0

0 answers

85 views

2-column flexbox layout without nesting divs

I'm trying to control the design of a page where I have no control over the HTML that's output, so my solution needs to be CSS only. The HTML I'm trying to style is basically the following: <div ...

  • reputation score 3

Score of 0

0 answers

54 views

Hover on a heading and change background image [duplicate]

This was deemed a duplicate to this question "Is there a CSS parent selector?" which is nothing like it, so please reopen my question. I need to create an effect where I have a background ...

  • reputation score 1

Score of -2

0 answers

137 views

I've got an error with my upgrade buttons

I have 2 upgrade buttons: a click upgrade, and an auto clicker. When you try to buy an upgrade without enough money, you get a confirmation. But if you successfully buy an upgrade after getting that ...

  • reputation score 1

Score of 0

1 answer

146 views

CSS counter-reset inside sibling div doesn't work

How to make "list 2" have separate counter? For now "list 2" tracks as inner list of the last item of "list 1". The problem only exists if "list 2" is wrapped ...

  • reputation score 421

Score of 2

2 answers

146 views

Avoid synthetic sounds overlapping

I have the following simple program in HTML and JavaScript: let Soundon = 0; document.addEventListener('click', function(evt) { let Key = evt.target.id; if (Key == "btn1") frq = 200; if (Key =...

  • reputation score 63

Score of -2

0 answers

107 views

Force a format for input type="date" regardless of locale

The admin section of our site has a mix of American and British users, who are sometimes located in each other's locales. For date chooser inputs, I have previously used the datepicker JavaScript ...

  • reputation score 33149

Read the original on stackoverflow.com ↗