Questions tagged as 'css'

1
answer

Mouse Click Trace

I need a script, that on a whole page where you click, a ball appears in the place where it was clicked, but after about 2 seconds it disappears. No need to be ripples, just something that leaves a trace, an example is Google Maps when you cl...
asked by 08.03.2014 / 00:03
4
answers

How to check with javascript / jquery which object (s) are causing a scrollbar on the page?

I would like to set up a verification script, because it is often difficult to find out why the page is scrolling, especially when we use some responsive framework that has a lot of css code and lots of js code manipulating. I need tips to pu...
asked by 11.03.2014 / 15:10
1
answer

Geolocation with Mobile Data

Well, I'm trying to make a project to be used in SmartPhones, specifically in Android, but not developed in Android! I'm just using HTML5 and CSS, all responsive, and I want a functionality that just worked in Angular (I think) What I...
asked by 08.02.2017 / 10:56
2
answers

How to create a toggle button with input = checkbox without using the label element?

Create / transform a <input type="checkbox"> on a toggle button without needing the <label> element as in these examples: How to create a toggle button on and toggle off? An example I made based on the Andreas...
asked by 19.02.2018 / 14:12
2
answers

How to make SVG image fit the size of a DIV?

I have an image SVG of about 100 lines and 60 paths and I need it if it fits to any block node, like a div for example. I tried to put% css% css in the class tag and set svg to width but this cut the image instead of...
asked by 08.02.2015 / 21:15
2
answers

Change CSS with javascript when clicking

I have a circle in css and half of it is hidden. When you click on it, I want the hidden part to appear. When I click back, I want him to hide again. I made the following javascript code, the problem is: I click, it appears; clico, hides; I clic...
asked by 03.03.2015 / 18:38
1
answer

What is and how to use the currentColor attribute in CSS?

What is the currentColor attribute in CSS? What is the purpose of this attribute and what is the best way to use it? I would like some examples to understand better. If the element does not have a color or if the color is in the parent, ho...
asked by 16.08.2018 / 17:41
1
answer

In HTML how to increase the space between the TDs without using cellpilling cellspacing?

My idea is to make a table that has a spacing between cells, as in the image: ButaccordingtotheMozilladocumentationforexample,youcanconfirmthatcellspacing="" cellpadding="" attributes are obsolete link And even if you talk:...
asked by 19.09.2018 / 17:46
1
answer

How to put special characters with :: after?

Here is the code, I want to put the character ©: h1::after{ content: &#169; }     
asked by 11.07.2017 / 16:22
3
answers

Clicking the link will also work

I always have this doubt, just look: I have a menu, with ul and li: <ul> <li><a href="/inicio">Inicio</a></li> <li><a href="/sobre">Sobre</a></li> <li><a href="/con...
asked by 14.07.2017 / 15:05