Questions tagged as 'css'

2
answers

What are the data- * attributes for?

I'm looking for code to make a progress bar. Among those that I saw I found this example that I liked, and inside the html I found a attribute data-percentage particular. When deleting nothing happens because who changes the appearance of...
asked by 20.12.2016 / 04:10
2
answers

Make an Image "run away" from another

I must say first that everything, that I am a newbie , I am recycling myself on programming issues. Even being a programmer for more than 6 years I did not play anything. So I implore you patience. I am practicing things with JavaScript...
asked by 09.04.2017 / 13:06
2
answers

Animation goes with Class but not with Id

The question is: Why THIS example goes like this, but if the JS changed it to the following one, stop walking: var clicked = 0; $(".ripple").click(function() { var clicked = 1; document.getElementById("di").addClass("expanded"); });     
asked by 27.10.2017 / 20:58
2
answers

Error in property css with background-image: url

I have provided this code in another question that I have done the code does exactly what I want, which is that when I mouse over it shows me an iframe. But when I put it on my website made with Adobe Muse the code shows errors. I attach an im...
asked by 06.06.2016 / 11:09
2
answers

Is it possible to create an input that is self-adjusting to its content?

By design I require that a input go self-adjusting according to the size of the text that is entered, in the following image I show what I need, the line must be pasted at the end of the text "title", but if put a longer string, the in...
asked by 09.12.2016 / 17:39
2
answers

Can I abbreviate input types in Sass?

Writing some code using Sass I found this: input[type="text"]:focus { border: 3px solid #AFDDFB; transition: 100ms linear; } But I need to cover other types of Input, like this: input[type="text"]:focus, input[type="password"]:focus...
asked by 10.09.2016 / 20:40
1
answer

Center text regardless of the lines of the text

What I need to do is to leave the text centered with respect to the image, that is, if the text has 2 lines as shown in the image, it fits perfectly but if it has only 1 it is strange and I would like it to go down to focus . Is there any way to...
asked by 11.01.2018 / 11:31
1
answer

Apply animation to div with background image

I have the following code #preloader { position: fixed; top:0; left:0; right:0; bottom:0; background: #fff; z-index: 100; } #loader { width: 150px; height: 150px; position: absolute; left:50%;...
asked by 05.12.2018 / 17:40
1
answer

Element does not look complete even with overflow-x: visible

I have a page with two columns, one of them has a drop-down list that is displayed when I mouse over an element. The dropdown extends beyond the content and that's where the problem lies: even though the container column has a overflow-x: vis...
asked by 01.08.2018 / 15:36
1
answer

SVG image is not displayed in IE, Chrome

I'm trying to insert a vectorized image in SVG format, but I only see it in mozilla firefox, for IE and chrome it does not appear. I have searched for some documentation about svg in navigators, in many I see examples where shapes are drawn by p...
asked by 23.09.2016 / 18:31