Questions tagged as 'css'

2
answers

square div with angle of 45º

The question is complicated and I believe the answer will be too. I can not explain very well what I would like to do (and I do not even know if there is any), that's exactly why I've put images to exemplify better. Well, assuming I have 9 DI...
asked by 08.10.2014 / 03:02
2
answers

Vertically center a span

How can I vertically center a tag (Top countries) with the form? Code: <div class="wrapper" role="main"><!-- START Content --> <div class="container"><!--- START Site Content ---> <div class="r...
asked by 07.01.2015 / 20:47
1
answer

CSS - how to do all-level numbering in nested lists

How to make nested list numbering include parent element numbers (all levels) using only CSS? By default the lists only display the numbering of a level: <ol> <li>item <ol> <li>item <...
asked by 27.08.2015 / 19:24
2
answers

CSS background-blend-mode in IE (Edge)

I'm making a website, and to avoid hovers with other images, I used blend-mode in CSS. But according to the Can I Use? IE 11 and new Edge browsers do not support. Here comes my question, in cases like this, what could I do? Try some alterna...
asked by 27.08.2015 / 01:16
6
answers

I want to align my menu to the center

#menu ul a:hover{ background: #0186ba; background: -moz-linear-gradient(#04acec, #0186ba); background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)); background: -webkit-linear-gradient(#04ac...
asked by 23.04.2014 / 13:11
1
answer

Themes CSS Magento

I added a theme in Magento and would like to change the background and some other things through style.css. I make the modifications, but it does not work. Does anyone know why? The CSS that I'm opening is in "skin / frontend / default / them...
asked by 01.03.2014 / 23:58
3
answers

Relative margin with large variation between browsers

I'm having problems with CSS margins that take percentage in a responsive project. There are objects that take 15% margin for the container, and in IE10 and Safari the difference is 10% more than it should. In Chrome and Firefox everything is no...
asked by 18.02.2014 / 18:38
1
answer

Difficulty in positioning div in CSS

I'm doing an avatar layout of the logged in user, my difficulty is to keep this green circle with the photo, as follows in the image below: Using position: absolute; It is as in the photo, but when changing the resolution of the screen the green...
asked by 28.12.2018 / 01:58
1
answer

Diving away when taking content

I have a simple div: <div class="quadrant"> <h1>X</h1> </div> //CSS .quadrant { background-color: #E7E7E7; margin: auto; height: 40%; width: 20%; } When I have some element inside this div, as in the case...
asked by 07.12.2018 / 16:02
1
answer

How to prevent loading of GIF images and only authorize it when clicking a button? [duplicate]

Self-explanatory title "How do I prevent GIF images from being uploaded and only authorize it at the click of a button?".     
asked by 16.07.2014 / 15:20