Questions tagged as 'css'

1
answer

Tree menu - Error when selecting element (ul: onclick)

I have a problem in the tree menu below. When I click on the child elements of ul-0 I perform the class exchange. How to avoid this? function ready (fn) { if (document.attachEvent ? document.readyState === "complete" : document.readySt...
asked by 04.04.2018 / 16:54
2
answers

Position div or button inside at a specific point in an image

I need to mount a kind of map, where the user clicks on a button that is in the x, y coordinate of an image and a modal opens. I can not use background-image for this, so I put the image with z-index: -1 , now I need to create some but...
asked by 09.05.2018 / 15:26
2
answers

Align two divs vertically after using float in one of them

I am creating a footer for an html page. It is very simple and consists of a SINGLE line. I would like one part, which contains the Copy information, to be aligned to the left margin, and another part, which contains a menu, to be aligned to the...
asked by 15.12.2017 / 21:07
1
answer

I can not get data-object value

The following problem has several inputs listed with the same css class, however I need to get a data-atributte of each one by clicking on its input to get its value from atributter: For example <input type="button" data-object="{"nome...
asked by 12.12.2017 / 12:08
2
answers

Animation with CSS image

I'm breaking my head with something simple, I usually solve these problems by looking at google, but today I was not that lucky. And the following, I want to create a background with the class "animation linear infinite", but I want to put a...
asked by 26.08.2018 / 01:03
1
answer

How to zoom in on the image when the mouse passes over it? [duplicate]

Type this site - > link A smooth zoom of that site. What is the simplest way to do this? If possible in CSS / HTMl.     
asked by 22.08.2018 / 23:50
2
answers

CSS3: Show a hidden div when hovering over another div

Good afternoon. At the moment I have 2 divs, 1 of them visible and the other hidden, being visible when I hover over the first. I would like that when the div is displayed with text, the background of the div fills the entire div that contain...
asked by 05.04.2015 / 16:31
2
answers

Align text in the vertical center of a circle

How do I make the text from within the circle stay aligned in the vertical center too? CSS .circle{ position: absolute; background: red; border-radius: 52px; width: 37px; right: 308px; height: 37px; top: 90px;...
asked by 02.04.2015 / 22:00
1
answer

Why does Edge only move the element horizontally and not vertically?

Because the border in <span> only moves the element sideways, but vertically the border is out of the parent container? Notice in this example that when I use the border in <span> it does not get left out of div...
asked by 12.09.2018 / 19:30
1
answer

Fonts do not load correctly in IE8

I'm using both fonts in a site: <link href='http://fonts.googleapis.com/css?family=Ubuntu:300' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic...
asked by 16.12.2014 / 18:08