Questions tagged as 'css'

1
answer

How to put a link in a background-image?

I have a div that has these characteristics: div#circulo{ height:200px width:200px background-image: url(minhaimagem.png); background-size:200px; } The image in question is a centralized circle with a transparent background. So in my h...
asked by 22.10.2016 / 19:58
1
answer

Can I disable a div using css?

So I created two divs within each other and my idea was this: I wanted to leave an inactive div, and when I left the mouse on one, the other one appears. The command I used for this is opacity: 0; to make it invisible and when I left the mous...
asked by 22.10.2016 / 14:41
1
answer

Increase margin in pixels in sass

I need to create margins, top, right, left and bottom, I would like to loop in sass from 0 to 100. Final CSS would look something like this: margem-top: 1px; margem-top: 2px; margem-left: 66px; margem-left: 88px; margem-bottom: 15px; margem-...
asked by 31.01.2017 / 17:43
1
answer

When I write in the input the text begins to appear in the middle instead of the beginning

I'm a beginner in html / css and found no answer anywhere, but then, in the input I put a css to increase the size of the "box" etc, but when I type the "|" appears. to start writing in a strange position, I wanted it to start in the beginning....
asked by 01.02.2017 / 21:39
1
answer

Add class to element on scroll [duplicate]

I have a website that in css, have these statements for the body: body { background: #fab52d; font-family: Montserrat, Helvetica, Arial, sans-serif; font-size: 1.6rem; color: #FFFFFF; overflow: hidden; } In the followi...
asked by 01.02.2017 / 18:17
2
answers

Print without losing css

I have the following page which is to print an OS report, it is exactly the way I need it, but when I print this, I lose the formatting of the css, how do I print without losing the css layout <?php //CONEXAO header('Content-Type: text/h...
asked by 02.02.2017 / 18:50
1
answer

how to change an image by clicking on a link

Hello, how do I change the src of an image when I click on a link to move forward? I have a long list of images and I would like to go forward according to the amount of images in that folder, instead of one by one that would be more than exhaus...
asked by 20.11.2016 / 15:12
1
answer

Import CSS files with SASS

I'm starting in SASS and I'm trying to make a CSS file that will be a combination of several plugins that are in .css format (bootstrap, fontawesome, etc.) and for this I'm using SASS, but it's not working in this case , it's returning me the sa...
asked by 26.10.2016 / 18:56
2
answers

How to change the position attribute (css) of a div

I have div of id = 'retangulo' with position:absolute; . When the page loads, this vertical rectangle only appears in half. I want when the person rolls the site at a time when the whole rectangle appears, it stays with po...
asked by 22.12.2016 / 19:53
1
answer

How to put a scroll in the flap system

I'm setting up a flap system, it's running 100%. The problem is when I open it on a mobile screen it has to scroll the tabs of the tab, just like the Android system. Could anyone help me? $(document).ready(function () { $('.tab-con...
asked by 21.12.2016 / 19:39