Questions tagged as 'css'

1
answer

Screen suitability is not doing its function "@media screen and () {}"

The screen suitability is not responding to the defined attributes, apparently it seems right, but the width and height of the object when the browser screen is reduced in (max-width:400px) has no effect, something so simple and I could n...
asked by 05.06.2018 / 20:25
2
answers

Slides, transition of images with JS and radius, when hitting the mouse on top of the image pause the transition, while withdrawing continue the transition

onload = start; function start(){ var i = 1; function Move(){ i = (i%3)+1; // 4 is the Number of image in slider document.getElementById('t'+i).checked = true; } setInterval(Move,3000); //change img in 3 sec } body{ backgro...
asked by 02.06.2018 / 04:03
2
answers

Change the color of an image in css (jquery)

I have an image on my page: <img style="border:0;" src="img/corpo_menina.png" alt="" width="320" height="480" usemap="#dtb61iMap" id="dtb61iMap" /> At one point in my application, several changes in my css are made to completely chang...
asked by 25.03.2018 / 01:01
2
answers

Make a DIV element be positioned as a footer

Here's an example of what I'm trying to adjust: * { margin: 0; padding: 0; } html,body { height: 100%; } #topo { background: limegreen; position: static; left: 60px; top: 35px; width: 100%; line-heig...
asked by 25.05.2018 / 19:08
1
answer

Contents overlaps the fixed menu when scrolling the page

I have tried to put z-index: 2 into <header></header> , but it did not work @charset "UTF-8"; body { display: flex; min-height: 100vh; width: 100%; margin: 0; padding: 0; align-items: center;...
asked by 27.05.2018 / 20:44
2
answers

Adapt boxes to mobile layout

Hello, I have a layout that looks like this IuseBootstraponit..Whenitreachesacertainbreakpointitgetsasimilarformattoit I want to make the following effect, when the layout receives the formatting demonstrated in the second image, those gre...
asked by 04.04.2014 / 21:22
3
answers

div set when scrolling page down

I would like to know how to make a div fixed on the side side by scrolling the page down. What I want to do is exactly like the side newsletter from this page ... By scrolling down you will better understand what I am talking about....
asked by 06.04.2014 / 21:39
1
answer

Text accompany the div

I have a chart that returns me as follows: I'dliketheproductnametoaccompanythechartregardlessofitssize,butit'satthetop.Seebelowthecode:<tdstyle='text-align:center;><divid="barras"> <span>Cobre</span><div class=...
asked by 09.10.2018 / 17:02
1
answer

How to do with CSS a Linear-Gradient that has values in PX and% at the same time?

I have a situation that is as follows, I have linear-gradiente in an element, however I want the first and last part of this gradient to have 100px of a single color, and the middle of it is always 100% complete by a another color. To...
asked by 23.11.2018 / 15:58
2
answers

Minimal Hover Menu - The Right Way

In the example below we have an interesting menu, with a effect hover, which follows the mouse and its items. Everything is very beautiful and works well. The problem is that this menu is set to default dimensions, so you can not add more item...
asked by 16.03.2018 / 19:39