Questions tagged as 'css'

2
answers

Change div hover background

I can not change the background of the div when I hover over the mouse, in case I want to change the background of the circle when hovering. <div class="col m3"> <div class="center promo">...
asked by 16.01.2016 / 16:13
2
answers

Centering page numbers

I have the following pagination: < 1 2 3 4 > . Perfect, what happens, is that this page is in the middle of the page. I can centralize the div that will contain these numbers, but how can I centralize the numbers? Remembering that...
asked by 10.12.2014 / 19:12
2
answers

Good practices in development (Use of Float, BRs, Api) [closed]

I would like some good practice opinions on development, as I am an amateur in the subject and would like to clarify some doubts. When I'm working on the layout, I use a lot of BR and Floats tags to organize the layout, is this correct or i...
asked by 12.02.2016 / 12:44
3
answers

Div responsive with image and other elements within

I'm creating a site mobile with responsive design. Within a div I have a slideshow that shows 300x300 images, I need to make that slideshow responsive without touching the width and height fault attributes of it. The code i...
asked by 20.11.2014 / 03:54
2
answers

how to leave rectangular image?

I would like to know how I can leave a news image for example in rectangular format, without losing proportion. I searched the internet and found nothing that could help me. Note that the image is rectangular.     
asked by 15.11.2015 / 04:25
1
answer

You can pass my dropdow menu to one of 3 lines ☰, but only when the mobile resolutions arrive

I can not do this, therefore, I am still a layman in the designe responsive. It would be grateful to help me. Here is the designe of my menu !! .nav{ width:100%; height:42px; background-color:#4682B4; font-family:arial...
asked by 03.10.2015 / 23:46
1
answer

How to do color toggling of links with the click of the user?

Hello! Well, I have a TopBar on my mini search site: link , and now I've got a form action swapping system with Javascript , which toggles between "web, images, videos and news". However, the "Web" link is already selected (blue), but wanted th...
asked by 04.10.2014 / 17:18
1
answer

Effect of the menu within the table

By clicking the right mouse button on the word menu a small menu opens. How do I make it happen inside the table's row property? document.oncontextmenu = function() {return false;}; //não deixa abrir o menu ao clicar $('.menu_pai'...
asked by 12.04.2016 / 21:33
3
answers

JavaScript does not follow in algorithm flow

Example: $("#segundaFeira").change(function(){ valorSegundaFeira = calcularJornadaDeTrabalho(this.value); var x = valorFinalJornadaTrabalho(); alert(x); }); Note that the global variable valorSegundaFeira is...
asked by 05.11.2015 / 13:39
1
answer

How to create a grid with floating elements similar to Pinterest

Hello, I am creating a grid with divs floating left, but when it reaches the fifth div in 1000px , it floats on the right and not on the left as should be and margin-top is greater for all subsequent divs , ie f...
asked by 01.11.2015 / 00:05