Questions tagged as 'css'

1
answer

Comment / caption in table rows

How can I add a comment / caption on table rows, similar to the <abbr> tag? nome | idade | sexo <br> <abbr title="comentario/legenda 1">&nbsp; Gui &nbsp;| &nbsp;&nbsp;17 &nbsp;&nbsp; | &am...
asked by 12.04.2018 / 18:47
2
answers

Div does not respect image limit in css

I'm trying to put new divs in my html but they end up leaving the image area and I'm not getting them fixed inside the image just scrolling the scroll bar, how do I move the items and image stay in position? In this case it is my...
asked by 31.03.2018 / 17:07
2
answers

How to make a div hide when clicking off it with jQuery?

Hello. How do I hide this div when I click outside it: IneedittodisappearwhenIclickoutsideit.Here'sasimilarexample: $("body").on("click", function() { $(".passageiros-div").slideUp("slow/400/fast"); }); .passageiros-div { border...
asked by 08.06.2017 / 20:07
1
answer

Would it be possible to identify if a DIV is over another DIV using some kind of script?

I have a DIV A, which moves on screen by clicking the keys on the keyboard. Is it possible to identify if this DIV A is on a DIV B using some script and trigger an event when the position of that div is recognized over the other? Code to move...
asked by 18.06.2017 / 08:42
4
answers

column-count in css breaking line at the beginning of column

I'm using column-count in CSS to turn a text into 3 columns, so far so good. The problem is that I get a text with this MySQL specification: Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br> <br> Nullam ullamcorper effic...
asked by 09.08.2017 / 16:35
1
answer

Opacity in everything, except in a certain DIV

Good afternoon. I need help with something. However, I still do not have a code. It needed something like an ad popup. That is, the entire screen becomes 'dark' while only the div has focus. I would like to understand the logic, if it would be b...
asked by 11.08.2017 / 20:30
1
answer

Show jQuery Custom Function [duplicate]

I would like to know how to add "effects" to show and hide, I tried adding it to my code but I did not succeed. I tried to show only a common div with class in css that gave the appearance that the image below has, but it stays behind other el...
asked by 09.10.2017 / 19:35
2
answers

Apply filter in only part of the image

I have an image in the background of my site and I would like to apply the filter brightness to the whole image except for one part as shown in the image: Any tips on how to do this? I've tried tag map , but it only...
asked by 02.08.2017 / 15:54
4
answers

How to create a randomly select button 3 of 5 numbers

My question is, how to create a button that randomly and automatically selects 3 of the 5 numbers that are shown. Like I clicked on them. Follow all my code below. <html> <head> <style type="text/css"> input[type=checkbox]...
asked by 11.10.2017 / 13:18
1
answer

Calculate space between Div and Body

I want to know the space between the bottom of Div A and the bottom of Body. I read about $.offset() , but this always returns me 0. PS: I want only in relation to what appears on the screen. If the body is larger than the screen, I wan...
asked by 18.05.2017 / 14:33