Questions tagged as 'opacity'

5
answers

How not to apply opacity on a child element?

I have a div with opacity applied, but this div has a child element. I do not want opacity to be applied to these child elements, would I have some way to solve it? Example: link Link code: .div-pai{ width: 400px; height: 400...
asked by 03.02.2014 / 13:32
3
answers

Opacity according to Page Scroll

I have the following complication: $(window).scroll(function() { $('ID').css('opacity', parseInt(1 - ($(this).scrollTop()/100)*1)); }); In this code I can put the opacity: 1; when the scroll is at the top and when spinning only 1px it a...
asked by 20.10.2016 / 23:59
3
answers

jQuery .toggleClass () is not working as expected

I have this code but I do not understand why the .toggleClass() method is not working as expected to change the opacity of the element: Example in JSFiddle HTML <div id="admin"> <p><br/>Admin</p>...
asked by 27.02.2014 / 11:02
2
answers

Opacity only in li and not in span

I have the following code HTML : <li class="item produtoDesabilitado" id="1028" style="border: 2px solid rgb(255, 255, 255) !important; height: 346px; padding-bottom: 22px;"> <div class="product-image-wrapper" style="max-wid...
asked by 20.02.2018 / 18:25
1
answer

Click the Span (Trash icon) to trigger in my li events fadeOut and then remove

I'm creating an Todo List with vanilla js and I ran into a problem. When I click on the bin icon (within my span) I can not delete my li. Could I point the way so that I can do javascript with the effect of fadeOut and then remove it from my...
asked by 14.12.2018 / 13:56
2
answers

Is it possible, in CSS or JavaScript, to leave a transparent image color?

For example, we have this boat: <div> <img src="https://cdn2.vectorstock.com/i/thumb-large/94/56/lifeboat-vector-3669456.jpg" > </div> In this case, I want the transparent white color (#FFFFFF), but it could...
asked by 26.06.2018 / 08:34
1
answer

Microsoft Edge starts opacity and transition with bug

I've been trying to resolve a bug that only occurs on Microsoft Edge. I need to create a link that has a border in the shape of a circle, and within that circle I need an image. When passing the mouse, an animation with opacity in the internal d...
asked by 15.04.2016 / 00:56
1
answer

Transparent Form with C #

Next I'm doing a tutorial tutorial for the program, I did not find a good solution to do. I created one screen over another with transparency, so far so good, but when I placed an image on this screen, it also became transparent. So I created...
asked by 11.01.2017 / 12:12
0
answers

Fade in and fade out / element opacity in scroll [jQuery]

I have a one site with 9 sections and each one has a div with the content. I need the opacity of this content to be reduced to 0 in the scrollTop, so there is no conflict between the transparent nav and the text. For the moment, in the cod...
asked by 10.03.2018 / 18:29