Questions tagged as 'css'

2
answers

Hold the hover on a button after the mouse

How to maintain the hover effect after the mouse button? The code below has this function, but just by clicking, I'm pretty new at it, but I'm learning. var header = document.getElementById("div777"); var btns = header.getElementsByClassN...
asked by 18.07.2018 / 05:02
1
answer

Float elements with CSS Grid

Good morning, friends. I have the following problem: I need to make the elements float with CSS Grid without having a specific row set. For example, in the image below, there should not be that gray space, the element just below should come up t...
asked by 24.07.2018 / 16:08
2
answers

Specify Modal Size

I've added a modal to my site, and I'm trying to change the size of it. But as much as I change its css, it does not apply to the site, I'm changing it inside the bootstrap.min.css file of my site, as in the image below Canyouhelpme?-...
asked by 12.01.2018 / 15:42
1
answer

Toggle button, button class

I'm trying to make a toggle button, but I have a problem the button I want needs a class to stylize in css. button class="button button1">Shadow Button</button , but the toggle button code I got uses a type on the button button oncli...
asked by 28.12.2017 / 14:36
1
answer

CSS - When you click change another element

I wanted to know how to do so when I click the h1 button change to red color, just with css <!DOCTYPE html> <html> <head> <style type="text/css"> button:active + h1 { color: red; } </style> &l...
asked by 20.06.2018 / 23:16
3
answers

Delay before showing a div

Ok, I'm not realizing what's failing me. My idea was when to hover over a div, show the div that was hidden. .main_container:hover .hidden_container { display: block; } .hidden_container { display:none; } <body> <...
asked by 20.06.2018 / 23:34
2
answers

Problem Aligning content with CSS [closed]

You can see right on the site at this link: link Can anyone tell me why the episode grid is looking like this: ThecodeI'musingis:<divclass="row"> <?php $counter = 0; $episodes = $this->crud_model->...
asked by 11.12.2017 / 15:43
2
answers

Hover with two effects: increase and decrease width of different divs

I have 5 divs forming a column. I want when I hover over one of the columns that column will increase the width by 4% and the rest will be 19%, causing an accordion effect. I was able to do with jQuery, however it has a delay on the...
asked by 13.12.2017 / 20:40
1
answer

What does sign for, ::, +, and & in css mean? [duplicate]

I'm starting my internship and I do not know the meaning of the following attibutos.    Sign of > (higher) Because .classe-a > classe-b{} is used    Double colon .classe-a::.classe-b{}    Sign of + (more) .clas...
asked by 05.11.2017 / 05:03
2
answers

Height of 100VH per page contains scroll bar

I have this page, that I placed the height of the page in 100VH , to occupy the whole screen, but it is generating these white spaces on the bottom and side, and this is making scroll bars appear, I do not know why. HTMLandCSSFramework(SA...
asked by 02.04.2018 / 00:53