All Questions
Tagged with javascript css
221,329 questions
0
votes
1
answer
36
views
Replace default mouse cursor in Gmail and Chromium
I am trying to replace the default (ugly) mouse cursors that Gmail uses within Chromium. This problem does not happen in Firefox.
So far, I have the following code...
I detect the custom icon
I ...
0
votes
0
answers
13
views
Flickering unstyled content code need for elementor
I need this code to be usable with all my template instead of one specific template of my website.
I am using Elementor and it suggested following code:
add_action('wp_enqueue_scripts', function() {
...
3
votes
1
answer
16
views
How should I reference different files for different devices using Angular?
So this is my project's structure in version 18.2.8.
enter image description here
This is the structure if I'm looking with a pc:
enter image description here
What I want to do is to show a css file ...
2
votes
6
answers
7k
views
How to change in javascript background color from css
I'm having problems changing the css in javascript.
Here's what i tried making:
var myVar = document.getElementById("1").style.backgroundColor = "brown";
body {
background-color: pink;
}
...
0
votes
2
answers
30
views
How could I obtain clickable box ability for every box I have newly created for creating new boxes at the end of boxes row [duplicate]
I want to change my code for obtaining creation of new round box after clicking any box from new created set of them, not only first box. How could I obtain this ability for my code?
const box = ...
0
votes
0
answers
13
views
Why my css transition failed to implement my expected sliding?
I am trying to make a very simple display time project for practicing my coding skills, the main implementation logic is completed, but there is a tiny problem is that I want to implement a fancy way ...
1
vote
1
answer
36
views
Non-stateful media query in CSS?
I'm trying to hide and reveal a sidebar based on the client screen width using two respective animations (hide-sidebar and reveal-sidebar). To achieve this functionality I'm employing a media query:
@...
-4
votes
0
answers
47
views
How to CSS constrain object tag with SVG inside containing div
If you look at this example you will see that if you turn the phone into portrait mode an click one of the right most yellow boxes (to relocate the arrow) you will see scrollbars appear.
I can prevent ...
0
votes
1
answer
17
views
Can't change React-tilt default options doesnt work
i'm designing a blog, and i want to use react-tilt for a premium and incredible experience, well, everything works, tilt works, effects works, but i want to change default options, like max tilt ...
1
vote
2
answers
79
views
How can I play an animation after the previous one is finished?
I have been trying the typewriter animation, and it went well!
.typewriter{
display: flex;
justify-content: center;
}
.typewriter .p1,.p2{
font-family: monospace;
font-size: 1.5rem;
/* ...
0
votes
2
answers
115
views
How to scroll page when mouse is in fixed element and I need pointer events? How to scroll one specific element from anywhere on the page?
I need to scroll one specific element on the page even when the mouse isn't hovering over that element...
I would normally put the div that needs scrolling on the top layer with a transparent ...
6
votes
3
answers
9k
views
-ms-transform for IE9 in JavaScript
How do you set the property of a Div for "-ms-transform" in JavaScript?
I want to rotate a DIV like follows:
-ms-transform: rotate(30deg);
Any help would be great :)
0
votes
2
answers
40
views
React Native OTP Input - Cursor Not Centered in TextInput Box
I’m building an OTP input component in React Native with four TextInput boxes, but I’m facing an issue where the cursor is not centered inside the box. Instead, it’s aligned to the right side of the ...
1
vote
2
answers
46
views
How to make transparent inside of path canvas
I have script that writes two triangle, blue and red.
I want to make transparent this area instead of blue and red like Paper-cutting work.
(I want to put the image background, so it must be ...
22
votes
4
answers
59k
views
Would onClick event work on touch on touch-screen devices?
I've used onclick events in my website. But when I open it in google chromes' developer mode's mobile view, nothing happens on touch on the elements which work on click with mouse. So my question is: ...