Skip to content

Tag: css

How to fix clipped text disappearing in Firefox?

I have made a program where it alternates a word, after a short duration. I am using background-clip to add a gradient to the text. This program works fine on Chrome, but breaks in Firefox. The Text disappears after coming into view. I checked that the text is still there, since it is selectable, but is fully…

functions deleting the paint canvas

I would really appreciate If someone could figure out what is wrong with my functions. I’m working on this simple paint program and I have Undo and Clear buttons. Undo is supposed to clear the last drawn line (the function deletes the last element of the array since the array consist of all the drawn li…

Disable autocomplete for Japanese

I am making a Japanese typing game for the browser using HTML, CSS and JavaScript. Everything is fine, except when I type hiragana cahrecters into the input field, it suggests different hiragana and kanji. This basically ruins the point of the typing game. The HTML autocomplete = “off” does not wo…

how to move button on bottom using css?

I am trying to move my button on bottom (some pixel above bottom).so it always be in bottom whether it contend is less or large. I tried using flex-box also not able to do that.Container have min-height : 500px here is my code https://jsbin.com/joyalosate/edit?html,css,output Expected output :: Explore produc…

Turn Cursor Effect on/off with a toggle switch?

I am making my portfolio website currently. I have added a flashlight cursor effect from (https://codemyui.com/flashlight-mouse-pointer/). I have also added a toggle switch from codemyui also. I am wondering if anyone knows how to link the effect & toggle together so that when I press the switch – t…

Shuffling Text Animation with CSS/JS?

I want to display the word ‘Hello’ on the home page of a website. I used CSS to make the ‘Hello’ transition up as the page loads in the beginning. I would like to implement a shuffling animation that randomly shuffles between the word Hello in different languages. I would like to do so…