Questions tagged as 'css'

1
answer

How to generate gradients in css3 text

Hello I wanted to know how to generate a gradient in a text like the attached image. or if there is a generator on the web to be able to do it     
asked by 22.11.2017 / 12:38
1
answer

Set tall with grid-colum

With grid-colum you can, for example, make a grid different from the rest, for example occupying a single row: grid-column: 1 / -1 But it will keep the same height as the rest of the grid's. How can I customize its height? if I put hei...
asked by 12.02.2018 / 11:03
1
answer

Change position to the div when I click AngularJS

I am trying to position the box azul depending on the box to which I give click , that is, if I give click to the green box, the blue box should go down to where the green box is, not it can be at the top, it should be as if...
asked by 24.01.2018 / 21:13
2
answers

How to capture html attribute in a js variable and then assign it in css variable?

I want to capture the value of src and pass it to a CSS variable, which is in the inline style of the container parent named --img-url . The idea that I have in the html, I have this: <figure class="img-container" style="--i...
asked by 15.01.2018 / 23:01
1
answer

CSS: Property: transition (ease, linear, ease-in, ease-out, ease-in-out)

I would like you to give me an explanation of each of the properties that the transition property has (ease, linear, ease-in, ease-out, ease-in-out) and in which case or situations it is convenient to use one or the other , in the case of the "l...
asked by 01.05.2018 / 01:44
2
answers

How do I get the ID of an element with its border?

What I would like to do is to obtain the id of an element that has a different edge, in this case its edge is red, to be able to process it in another method. Current code: if ($('#txtNombreP').hasClass('borcolo')) { alert('El elemento...
asked by 23.02.2017 / 20:24
1
answer

Animate objects in scroll and stop them when stopping the scroll

I want to make this code work like the attached GIF when the user scrolls and stops when it stops scrolling. I've been trying with a sequence of "IFs" but it is blocked and I do not know how to solve it ... $(window).scroll(function(flec...
asked by 20.09.2016 / 15:40
2
answers

Enlarge 100% box using display: flex

I am using the property display:flex but having this structure: <div class="cajaFlexible"> <div class="cajaHija"></div> <div class="cajaHija"></div> </div> And with this css: .cajaFlexible{displa...
asked by 20.07.2017 / 09:10
2
answers

Change background color of an input when it is not empty [jQuery]

Good people. I am trying to fill in an input itself change its background-color , this would have to be done dynamically, without having to click on a button or reload the page. I tried this, but it does not work: function ActiveInput...
asked by 30.05.2016 / 13:59
3
answers

center in Image does not work correctly

The images have to be as they are on top of each other, since that is the main idea. But as you can see the text centers it correctly, but the image does not. How can I solve this? body{ overflow-x: hidden; background:...
asked by 01.03.2017 / 12:28