Category "html"

Keep 3D model after image target is lost

I am using 8th wall web to detect image target and place model when the target is found. However when the image target is not in view of the camera, the model d

How do I make a Navbar with my logo and differentiate with my background color?

In my project I want my navbar to fully stretch to its end and increase its height. This navbar is not full stretched. Also, I want my logo would come before re

Suneditor insertHTML

I'm trying to use the function: insertHTML As per manual: editor.insertHTML('TEXTO DE TESTE', true, true); I created a button and put a jquery suneditor.insertH

How to make Ioslides a solid white background?

Ioslides for Rmarkdown have this gradient background, and I would like it to be solid white. I tried two different ways to remove the gradient effect using a cs

How i can change text in HTML with Javascript [duplicate]

<a href="/knowledgebase/category/community?language=tr" class="Category-Item"> <h4><span><i class="fas fa-comments">&l

child is not fully visible inside an "overflow-x: visible" parent

two questions in the example below: why grida is not centered horizontally -margin: 0 auto why cins is not fully visible - parent is overflow-x:visible .gri

HTML5 Form validation message doesn't show when scroll-behaviour is set to 'smooth' on html tag in Chrome

I'm having a conflict when setting the scroll-behaviour:smooth attribute on the html tag when there are form fields on the page using HTML5 Validation. You can

How do I repeat headers and footers fixed to top and bottom of document with CSS in iText 7 using pdfHTML converter?

When I use the following HTML+CSS to produce a table with header and footer it repeats the header and footer on each page when printing and when converting to P

Stretch body when navigation element is being hidden

Whenever I toggle the menu on the left to slide away, I want the body element to stretch to full width, how can I achieve this? Is using translate option not go

best practices in structuring jinja templates (flask)

I wrote a site in bootstrap and thinking about refactoring it in jinja. I am not much familiar with nesting blocks, and the site is relatively simple. My goal i

Set bootstrap switch component to 'checked' if mode is Dark

I have a theme for my web App in my localStorage and I want to add the checked value to the Switch component if the mode is set to 'dark',or unchecked, if the m

How to reorder an API call to a custom order by API ID?

A bit of a niche question but it has challenged me, see if you can solve it. I have this array of sports leagues ranked from best to worst by their respective A

Display hidden not working with flex in Tailwind

I'm trying to hide a div in mobile, and display flex with md screen & above, here's my code: <div class="hidden md:flex"> <x-navbar.nav

CSS Image outside Clip-Path flickers during animations

Basically, I am trying to create a testimonial section with a circular image on left and some text on right. When the testimonial section is hovered the image b

How can I check if an element still exists in the DOM?

How can I check if an element still exists in the DOM? <div id="parent"> ... <div class="my-class"></div> </div> let parent = docum

Generating List Items from an Array with Javascript [duplicate]

I am trying to generate a list of names from an Array with this piece of script const names = ["John", "Hanna", "Luis", "Halley", "Maive"] con

I am trying to store form values in local storage on submitting form. now i want that all input tags should be cleared once i clicked on submit button

var formHandle = document.forms.infoForm; formHandle.onsubmit = processForm; function processForm() { var formName = formHandle.f_name; var formCol

javascript canvas wont render with custom framework

I am making a simple JS game framework and I am trying to make an image that can move around canvas with WASD. The code below should render a movable image but

How can I make the text and image be on the same level?

I am trying to make the text and image be on the same level but when I add the text the image moves, I am unsure on how to fix it and looking for help. I though

Why does the canvas have a black background?

Why does the below canvas have a black background? Because of it, the text behind the canvas is not visible. I need it to be transparent to show the elements be