skip to Main Content

Html – CSS Counter and Calc function

I want to know how I can combine the counter css function with the calc function for me to supperpose a list of icons. <style> .list-counter{ counter-reset: list; } .list-counter div:not(:first-child){ counter-increment: list; transform: translateX(calc(counter(list) * -1rem)); } </style> and…

VIEW QUESTION

Html – Changing HX-GET using JavaScript doesn't change the result?

I'm looking for help with HTMX. I writing a simple FastAPI app with HTMX and Tailwind and MongoDB database. I have such a form: <form id="currencyForm" hx-get="/currency_history_check/EUR" hx-target="#result" hx-swap="innerHTML"> <select name="currency_id" id="currency_id" onchange="updateFormAction()"> </select> <button type="submit">Submit</button> </form> <div id="result"> </div>…

VIEW QUESTION

Html – how to make it? in css file

`I don't know how to position these elements. I've written the HTML, but I can't position the elements in the CSS file HTML: <!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <title>Блочная верстка</title> <style> html, body { width: 100%; height: 100%;…

VIEW QUESTION
Back To Top
Search