Questions tagged as 'css'

1
answer

How to center the crosses in the box?

Hi, I have a problem in the html file, I'm trying to adapt a code that I found in Google of a game, all three in a row. The problem is that I change the original size and when it comes to centering the "X" I do not get it for laps I give it. The...
asked by 10.04.2018 / 13:09
2
answers

Move specific item to the right using flex

It turns out that I have a grid of thumbs and I'm using flexbox for the first time because of its simplicity and less use of lines in the code. I want to always place an advertising banner on the top right, the problem is that it is loaded...
asked by 08.06.2018 / 20:36
3
answers

Use php variables in css

I have a problem. I am saving php variables in a database and I want to use those variables in a css file for when I load it with html use those stored values. Normally these variables are hexadecimal codes. In css I can load these variables...
asked by 06.02.2017 / 09:41
1
answer

Center text vertically in a DIV with flex + span style

I have a problem in a div when centering text vertically using flex in CSS. When you put a span style, the text contained in the span jumps to another column! .TEXT {height: 200px; font-size: 20px; text-align:center; align-items: cent...
asked by 04.11.2017 / 13:46
2
answers

redirect html page when trying to enter from the browser

I need to avoid entering an html address, that is, if someone tries to enter from the browser, it directs it to the main page. On the other hand, it is only possible to access from the main page. I would like to do it from htaccess, my js is...
asked by 03.11.2017 / 17:24
3
answers

How to super put div with css?

I have a div that is a kind of container (which also has style) and I want to put another two div, one on the left with an image and the other on the right with options. I'm trying to do it but honestly I do not know why the second div does not...
asked by 05.10.2017 / 19:56
1
answer

Problems with width and height at 100%

I need help, I have problems with a CSS code. I have the following document both html and body I have set them to occupy all the height and width of the screen. inside body I have a container box, that in turn has two boxes plus header and conte...
asked by 02.07.2016 / 17:48
2
answers

Disable click, but enable scroll in a div

I'm using: <style type="text/css" media="print,screen"> #aviso { pointer-events:none; } </style> to deny the option to click inside that div, but I want to be able to scroll inside it, which does not allow me to...
asked by 08.06.2016 / 18:24
4
answers

Center vertically and horizontally a div

I am learning to use CSS3 keyframes and animation. I am creating a Galaxy and I want to put a text but I can not focus vertically, I have tried everything but I have not achieved it. How can I do it? * { padding:0; margin:0; }...
asked by 28.02.2018 / 19:55
2
answers

JQuery the menu effect works only once

link Hello everyone. Thanks in advance for your help. In the link I have attached, I am trying to animate the menu bar. The idea is that each time you click on a link, the bar disappears completely and reappears. Problems: The animati...
asked by 28.09.2018 / 12:04