Questions tagged as 'css'

2
answers

JavaScript - Function that changes the background of the parent element

I'm having trouble making a function. Can you help me? Home After clicking on the checkbox or on the label, it only colors the word, I would like it to also color the background of the div, I tried to make a script like: var obj = document.g...
asked by 17.10.2017 / 17:24
1
answer

effect with jQuery on select

I'm putting together a custom input with the style of google's design material. The effect is working in the input, but in the select is not working. Does anyone know what I'm doing wrong? NOTE: The effect I'm referring to is the blue line...
asked by 10.05.2017 / 00:17
1
answer

Align text at the bottom inside a div

I'm creating a layout and distributing several <div> with the flexbox feature, could someone tell me how I can do the contents of this <div> that will be a word, stay aligned with the center and bottom of this <di...
asked by 16.05.2017 / 22:26
1
answer

How to become responsive

I have this project more advanced, but I left it smooth to be able to facilitate the visualization and for you to help me = D, I tried everything possible using the media queries but nothing, I want the window to fit on any screen and the bigger...
asked by 15.03.2017 / 20:17
1
answer

how to use the inherit and initial properties in css?

My CSS studies have resulted in finding the following properties: inherit and initial . The two at first sight seemed quite similar, but I wanted to know even it is: Where can I use inherit and initial? In what situations s...
asked by 16.03.2017 / 15:49
5
answers

How to use Materialize side-nav?

Good morning, I'm trying to make a menu responsive to my portfolio, I'm using the materialize but when I put it fixed the side-nav of the mobile buga version, it's all dark and does not click on the items, here's the image how it gets when you'r...
asked by 08.03.2017 / 15:29
2
answers

CSS - aligns images

I have the following HTML code: <div class="book"> <div class="book-image"> <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $books->Image ).'"height="180" width="130">'; ?>...
asked by 28.05.2017 / 21:28
2
answers

Why does: hover not work this way?

I have the following code: .player-info .episodios-lista .lista-episodios{ width:100%; height:100%; overflow-x:hidden; overflow-y:auto; box-sizing:border-box; display: flex; display:...
asked by 26.04.2017 / 14:15
1
answer

How to position these elements in a List

Hello I'm making a simple product page, but I'm having some difficulties when positioning the elements as in the print below: Firstly I was using attributes like: Left: ?? px; bottom: ?? px; , but it did not work very well, because the s...
asked by 24.04.2017 / 21:16
2
answers

I can not put the link with the ACTIVE function

I have a menu, in my website in wordpress, that when I move the mouse (there) it loads a border in the base, so that's fine, but I can not put the ACTIVE function for when the person is on the page related to the link stay with the border bottom...
asked by 24.02.2017 / 17:27