Questions tagged as 'css'

1
answer

How to draw the horizontal row of the table in the bootstrap

While reading various articles on the net about table link link I could not get a doubt. How to draw the horizontal line of the table in the bootstrap Below I leave an image as an example of a simple table where there are 3 lin...
asked by 29.06.2017 / 19:27
1
answer

how to change an image src from another page

Hello, I have an input where it serves as a search bar. When entering a name and pressing enter, a function is activated and performs the following function: function verificaValor(){ var valor = $('#search').val(); switch (valor) {...
asked by 20.11.2016 / 04:50
2
answers

selector does not work: $ ("div + p")

Someone could tell me why this command line is not working: $("#marcas_select + #modelos_teste").css("background-color", "yellow"); Here is the complete code. As everyone can see the purpose is to let the select_test model with the yellow b...
asked by 29.11.2016 / 18:15
3
answers

Doubt regarding CSS selectors

I started studying CSS shortly, and when I looked at the CSS of a page I came across the following excerpt: @media (min-width:10px){ body{max-width:none} } I would like to know what kind of selector is @ , and how this structure with...
asked by 31.01.2017 / 17:41
1
answer

colspan with css

I mounted a table in css, however I'm having a problem, I wanted to leave the line with colspan attached to the top line. Notice that the colors do not match, that is, the color of the line with colspan has to be the same color as the top line....
asked by 02.02.2017 / 18:34
2
answers

how to make a div float over another div

I'm trying to make an interface similar to that of whatsapp web which has a green header and a gray background where the chat box is contained on this gray background and the green header. The only way I can think of how this was done is by usin...
asked by 25.09.2016 / 00:58
3
answers

How to get media item with javascript or css?

Well, I have the following situation: <div class="corpo"> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> This div block is randomly generated and I...
asked by 01.03.2017 / 23:10
2
answers

Change cursor on event "onhover" for HTML5 video

I want to change the cursor to a "hand" when I move the mouse over the buttons: Play Stop Volume Fullscreen etc. for an HTML5 video player . At the moment, the mouse pointer when passing over the player does not give an idea that y...
asked by 09.03.2017 / 13:42
2
answers

Number of items aligned vertically according to div height

Good evening guys, I'm trying to do a basic layout similar to the Windows 8/10 home screen, and in a container I'd like to align vertical items of 80x80, and if according to Height by perhaps some items will not fit in this first column to be...
asked by 30.08.2016 / 06:22
1
answer

Jquery or CSS - How to create an animation that flashes back to the original?

I have the following Jquery code: $(".add").click(function(e) { $(".saida").addClass("backgroundRed"); }); and the following css: .backgroundRed { color: #FFF; background: #c1272d; } It's all right, it changes the color of...
asked by 08.02.2017 / 01:51