Questions tagged as 'css'

2
answers

How to increase the top margin of the element

The problem I'm facing is raising the top margin between this "Login" title of the main div, I thought with a margin-top in> I could do this, maybe I'm misusing it, tried it, tried it but I could not! body { background-color: hsla...
asked by 22.09.2018 / 23:08
2
answers

I want an image to close and start a countdown of 5 seconds

I'm trying to make an image rise to the top by clicking on it below. Once you have uploaded I want you to click (click here to close) I want you to start a 5 second countdown and then close when you finish those 5 seconds. It's kind of an advert...
asked by 22.02.2018 / 00:52
1
answer

Play image gradient

How can I generate a gradient like that image? As she has one more of a tone of the same color, I can not leave the same. .box { background-image: linear-gradient( to right, #ff7a2d, #ff507b ); width: 100%; height: 300px;...
asked by 25.02.2018 / 15:10
2
answers

Center text according to length

I'm having a hard time putting together a logic, where it will write the user name in a certificate. In order to always be centralized according to length of name, I have to adjust to margem-left , but it is allowed from 1 to 50,...
asked by 08.06.2018 / 22:29
1
answer

Difficulty in positioning controls with bootstrap

I have cshtml , which needs to position some controls. I placed a table on the left side of the document. Now I need to position multiple controls labels next to the table and those labels one below the other. My table alread...
asked by 26.06.2014 / 17:24
1
answer

Problem with the basics of creating a sidenav using Materializecss

I'm learning materializecss and I'm trying to create a sidenav , but I'm having problems, I'd like to know where, follow the little code: <!DOCTYPE html> <html> <head> <title>Materialize</title> <...
asked by 27.07.2018 / 19:50
1
answer

Synchronization of 2 html / css animations

I need to make my burger menu that has an animation entirely made by html and css synchronized, ie when I press on it both animations will happen ... The code I'm using is this HTML <nav> <input type="checkbox" id="chec...
asked by 02.08.2018 / 05:02
2
answers

Start displaying the div at the end of the Scroll [duplicate]

And, folks, blz? I have a div with lists in it. etc... li.intem3 li.intem2 li.intem1 When I load the page, it starts the TOP view of the Div, and I wanted it to start the BOTTOM display, ready, the facebook chat, it starts to display the...
asked by 26.07.2018 / 21:45
1
answer

Decrease tables to fit on a page

I have a page that has four tables and a button for the user to print. The problem is that these tables have a lot of columns and when I try to print, they are cut. I would like to be able to downsize the tables so they fit on the print pa...
asked by 09.07.2018 / 14:44
1
answer

How do I perform an action when the scroll reaches the top of the page?

I have all the code of a fixed sidebar that works perfectly, however I want as soon as the scroll bar reaches the top of the page, the top itself, an element receives a CSS assignment through .css (). Something in this line: $(window).scrol...
asked by 30.12.2017 / 19:02