how to resize navbar differently on different screens when scrolling
I want to resize my navbar differently on different window sizes, but when I use the following code to do so, when I scroll back up on a mobile device, the size of the navbar becomes what it is...
View ArticleHow do I make the font size in the table adaptive?
I have a form now, and the number of words in the form is different. Now assume that the table size does not change and I want the font size in the table to change with the number of words.That is to...
View ArticleHow to make the input value back to the original value when using...
The code makes the input slot empty when pressing "-", "+" or any special character in input field.Example: When I type 123 and "-" in the slot as soon as I press "-" the input field value becomes...
View ArticleFlask Can't Call Python Function From HTML Button Using 'onclick' [duplicate]
I'm currently in the process of developing an admin/approval panel for my Python webapp.Currently the app allows users to make Bank Time requests (for any overtime worked). Once the user submits this...
View Articlehow to createElement with an id in one line
i know that i can create an element such as:var foo = document.createElement('div');and to set the div id i would do as such:foo.setAttribute('id', 'divName');and if you google long enough you will...
View Articleget element by Id Using Razor syntax
is it possible to get an HTML element by it's Id in a Razor Code block? for example some where in a view this element exists. <Input id='NameField' type='text'>and further down in the view there...
View Articlelogin username or email field required without validation
I have a simple login form with username/email and password fields, and two buttons, one for a normal login and one for LDAP login.The normal login requires email/pwd, while the LDAP login requires...
View ArticleSearch button doesn't scale in with the rest of search bar
I'm new to the whole CSS coding and sometimes I get stuck. I followed an online tutorial on how to make a search bar that is animated so it looks pleasing. I'm doing a website for my school project and...
View ArticleHow to create a sidebar that appears when there is a horizontal scroll?
I want to create a web site that checks for the wheel event and when the user swipes(scrolls) from left to right in the trackpad, I want to open a sidebar. Unfortunately there is no examples in the web...
View ArticleAbsolute positioned element not showing with top z-index
As part of my site there is a search field which features a suggestion/autocomplete box when the user types in current keywords:imageThe problem is in order to make a scroll bar appear if the user...
View ArticleAdd CSS keyframe animation every image switch
I have an image tag where in every 3 seconds it changes to a different image and I want to add into it an animation style where every time the image switch, a CSS animation keyframe will take effect....
View ArticleHow do I loop through an array of buttons and only continue looping if the...
Not sure if this is exactly the correct approach for this but I have an array of buttons that spawn on the screen and after a few seconds it changes location and I have to click the buttons in the...
View ArticleWhy is the content of a element emptied (WebI)?
In SAP BusinessObjects BI Platform 2025 (Web Intelligence), I use a cell with "Read contents as" set to HTML. The server only renders HTML elements that are on an allow list of permitted elements. I...
View ArticleVideo player with a menu [closed]
I'm making a portfolio website and want to display a video player where you can click on an option and it will play. This may include JavaScript but I'd like advice on the coding, or what to look up to...
View ArticlePure CSS Slider / Carousel / Slideshow with Autoplay / Animation and Navigation
Can someone please tell me whether it is possible to combine these two into one using only Html & CSS ? (either by autoplay, animation or any other possible way) This question seemed to pop up in...
View ArticleHTML audio tag volume
I embedded a background audio into my website which autoplays on visit.The source of the audio is a online stream hotlink.<audio autoplay><source...
View ArticleDistribute flex items evenly when they wrap
When my flexbox container has more than a certain number of elements, I want it to use multiple rows. Here is my current solution: .container { display: flex; width: 400px; background: black; padding:...
View ArticleHTML5 playback with fade in and fade out
I'd like to start and stop HTML5 playback in a random position with fade in and fade out periods to smooth the listening experience.What kind of mechanisms exists for this? Manually ramp up the volume...
View ArticleHow can I make a Hero section fill the remaining viewport height below a...
I am currently building a website using Nuxt 4 + Tailwind CSS and I am having a problem with viewport units (dvh, vh) and percentage heights (h-full) inside a Nuxt layout.My layout structure is...
View ArticleCan CSS anchor positioning be scoped per component without generating unique...
I'm experimenting with CSS Anchor Positioning for dropdowns.I have several identical components on the page, and each button should anchor only the dropdown inside the same component.For...
View Article