Questions tagged as 'css'

2
answers

Show progress bar with values while loading subpage

I have a preload or progress that I show before being redirected to another page. What I want is that while it is loading to open another page, the div of the progress is increasing up to 100%, as well as a numerical value (n / 100). I cur...
asked by 12.02.2016 / 01:53
1
answer

Transition in CSS

What I try to do is to leave a background shadow that goes from left to right. The background what it does is give it another background color, but instead of it appearing, it moves. modify everything. Now I did this: .Grupo { transit...
asked by 28.02.2018 / 19:41
4
answers

Selector for all elements except the first

I have 11 p elements with the title class p.title What would be the selector to add styles to all p.title minus the first one? I could select all the others with nth-child () and their numbers but it would not be the most efficient   ...
asked by 01.11.2017 / 23:20
3
answers

Update text depending on selected values in a list * WITHOUT JAVASCRIPT *

At work we find an interesting problem: we have a page with a drop-down list that, when the selected option changes, updates the values of a series of elements from the values of a variable in JSON. HTML is something like this (simplified):...
asked by 08.06.2016 / 06:37
4
answers

Change color of HTML elements when holding down the mouse

I am trying to change the color of the elements, changing their class, while the mouse is held down, giving the effect of "painting". Doing it by mouse clicks I have it, here I leave the code: $(() => { $('table').on("click", "td...
asked by 28.02.2018 / 17:29
1
answer

"Pulse" effect in CSS3

Hi, I am trying to achieve a "Pulse" effect on a circle, using only pure CSS3. Below I leave an example of what was expected. Is it possible? Expected Current #circle { width: 70px; height: 70px; backgroun...
asked by 19.10.2017 / 14:39
1
answer

How to assign to the same element two CSS3 animations

I'm trying to make an animation of div that the first 2 seconds appear and position itself in the center of the page and once this animation is finished, it executes a second animation that consists of rotating this div 360 degrees...
asked by 18.01.2017 / 15:51
9
answers

CSS for alert () or confirm () JavaScript

I would like you to help me to give css to the alert() and the confirm() of javascript, so that my messages are something elegant, I do not want to opt for a modal only for confirmations, so if someone knew how to I realize I would...
asked by 14.08.2017 / 04:53
2
answers

How to create a responsive ball with css and html?

I have a doubt, and that is that for a class work I am trying to create as "a Christmas ball" that I turn, the thing is that the ball has already been made and turned, but there is a problem and that is that if the size I give it with em or wi...
asked by 06.11.2018 / 17:02
5
answers

Hide the text of a div using CSS

Suppose I have the following div: <div class="contenido"> <img src="pepito.jpg"> Hombre </div> I need to hide the text "Man". How do I do it? With clear css this     
asked by 06.04.2018 / 00:11