Questions tagged as 'css'

1
answer

Position fixed for desktop version and relative position for mobile version, how to do in CSS?

I know it should be simple, but I'm stuck here in this, I have a div with ID called Login and I have to leave it as fixed when the navigation is made of computers, so in the mobile version this div will have to stay as relative, can someone exem...
asked by 25.05.2018 / 18:50
1
answer

Regulation of svg

I'm looking for new effects, to improve my portfolio. I really liked this effect, but there is an error that I could not adjust. The height cuts when hovering. After much searching, I was able to do a size adjustment by moving the svg paramet...
asked by 12.09.2018 / 21:18
2
answers

How to leave an icon centralized along with an LI added via CSS inside a UL

I'd like to know how to center an icon implemented via background url() in css along with my li , the problem is that when I add the icon, it moves away the right side of my li and how it appears pasted on the li...
asked by 30.10.2018 / 16:15
1
answer

Centering elements of an SVG

Hello, I have <g> inside an SVG and would like to centralize your content, basically it would look like this: +-----------------+ x-----------------+ | X | | | | | |...
asked by 13.11.2018 / 20:01
1
answer

How to put scrolling dalay in a background? [duplicate]

I would like the bg of my section to have a certain delay in the scroll speed to differentiate itself from the default scrolling of the page. Does anyone know how I can do it?     
asked by 31.01.2018 / 20:42
1
answer

All tabs appearing when updating page materialize

Does anyone know why this happens? When I refresh the page it appears a part of the following tabs and then disappears when it finishes loading. I want to prevent this from happening. HTML<sectionclass="section-cadastro blue-grey darken-...
asked by 30.01.2018 / 02:16
1
answer

How to center rotated text in a div?

Hello beloved community! I'm rotating a p inside a div, but I can not centralize it, I'm having a hard time in css, I've tried setting a width: and height: for p, I left it as a self but it does not work. p.vertical {...
asked by 02.02.2018 / 18:10
1
answer

Problems at the height of a div, how to set 'automatic' height?

See the example in this fiddle I want the height of the blue div to be according to the height that the table on your right is. in the fiddle is well explanatory, any doubt I shot in the comments, I tried everything but I can not. <...
asked by 02.02.2018 / 15:12
1
answer

How to make a div expand even though others are underneath

Well, I would like to make the div expand by clicking on it, and the other divs would decrease, vice versa with the others *{ margin: 0; padding: 0; } .divsCards{ position: relative; width: 420px; height: 480px;...
asked by 12.05.2018 / 03:14
1
answer

Retractable menu that does not close

I have a retractable menu, but I can only get it open but not close. I need it to close when clicking anywhere on the screen outside the menu. I know about html and css. Javascript is getting in touch with it now so I do not know how to sa...
asked by 12.04.2018 / 21:44