Questions tagged as 'css'

1
answer

What is the best component for resizing and partitioning image in different sizes?

I have already looked a lot and there are some solutions to resize images and create the thumbnail from an original image. I'm creating a corporate network and would like to resize an image that the user uploads, and then just like on all networ...
asked by 23.02.2016 / 13:19
1
answer

How do I display a DIV by passing the mouse over another DIV while maintaining the same open position?

I will explain based on the image below that I did to make it easier to understand. In the image below I have a banner (gray color) and a bigger one in red. The operation would be as follows: When you hover your mouse over the gray colored...
asked by 11.05.2016 / 14:30
1
answer

How do I load an external source into a CSS / HTML document?

I'm trying to import an external source into a file CSS So, this is my code CSS : body{ background-color: white } @font-face { font-family: 'devgothic'; src: url('/fonts/devgothic.eot'); src: local('devgothic'),...
asked by 08.05.2016 / 15:12
1
answer

How to make a DIV adjust its height according to the background image?

How to make a DIV adjust its height according to the background image? .guaraparivirtual-guiacomercial-banner { position:relative; width:900px; height:auto; float:left; background-color:#dddddd; background-image:url(img-guaraparivirtual/icone-...
asked by 10.05.2016 / 17:59
1
answer

How to center an image using bootstrap on NavBar bootstrap?

I have a big doubt on the bootstrap, I created a Navbar using the default bootstrap classes .... the problem is that I can not centralize a logo in the center of the navbar, it works only from left to right. of a solution that is standard bootst...
asked by 17.06.2016 / 06:37
2
answers

DIV with height: auto; not adjusted according to the height of the internal DIV

I have a DIV with height: auto; that does not adjust the height according to an internal div with height: 120px; See CSS .conteudo-modelo-3-0 { width:960px; height:auto; margin: 0 auto; } .conteudo-modelo-3-1{ position:relative; w...
asked by 05.02.2016 / 11:11
3
answers

Javascript Change css when in certain div

I have a white logo on my website and a white menu, and my contact div has the white background, so they disappear. I want to know how to make a script that will change the logo and menu css when in this div.     
asked by 04.02.2016 / 19:06
1
answer

zoom button in / out of a div

Somehow know with jquery and / or css to simulate the zoom in / out effect of a div. The div does not necessarily have an image. Without the div boost / dimuir, simulate this effect for the elements that are contained in it? Basically increase a...
asked by 30.03.2016 / 20:44
1
answer

Pop-up with video for site

I have a normal website and I need it when I enter it to have a pop up with a youtube video. A normal pop up with a close button. It can be done in html / css or with javascript or jquery     
asked by 01.02.2016 / 14:06
1
answer

Display div according to screen resolution

I have the following CSS script: <style type="text/css"> @media screen and (max-width: 600px) { .comp { background-color: #000000; display: block; } } </style> <div class="comp"> </div> Perf...
asked by 01.02.2016 / 17:49