Questions tagged as 'css'

1
answer

How to scroll an element to the left

Normally when using overflow-y: scroll or overflow-y:auto , the scroll bar appears to the right of the element. .scroll-me{ height: 80px; width: 200px; overflow-y: auto; overflow-x: hidden; font-size: 18px;...
asked by 14.04.2017 / 18:28
2
answers

Shadow / border effect in box

Someone can help me how to do this shadow effect or this border in a box already tried with border and shadow but the effect did not look similar and for me it got ugly, could anyone help me? link Here I did     
asked by 20.05.2017 / 19:46
2
answers

Contour image with CSS text

I'm developing a website, but without using any framework to do so; I want to emphasize that I just started in front studies, and that CSS is totally new to me. I'm trying to fix an image in a certain region of a div (this is ok) and allo...
asked by 08.05.2017 / 17:44
3
answers

Is it possible to find darker / lighter tones from a hexadecimal?

Given any color in notation Hexadecimal , can you find the same in lighter or darker shades? example ... div { height: 50px; width: 150px; display: inline-block; text-align: center; line-height:...
asked by 18.12.2017 / 17:30
4
answers

Different colors inside tag h1

Is there any way to apply different colors to every stretch of text within: <h1>Cor1 Cor2 Cor3</h1>     
asked by 06.03.2018 / 21:27
1
answer

foreach using css3

So I have a div with 3 imagens <div class="pai"> <img src="1.jpg" /> <img src="2.jpg" /> <img src="3.jpg" /> </div> I would like these 3 images to run from right to left in order until they...
asked by 08.02.2017 / 12:56
1
answer

How to leave CEP form sliding the same as ifood's website? [closed]

This is the form of the site I want to change: artnaweb.com.br/pediragua Leave this same: ifood.com.br I do not understand Jquery. I have knowledge only of HTML and CSS. Thanks!     
asked by 03.02.2017 / 01:16
2
answers

horizontal alignment with css

How do I leave the 'title' aligned with the icon without the need to put the 'title' inside some div. .card-blue, .card-red, .card-green, .card-grey, .card-yellow { position: relative; width: 300px; border-radius: 4px; backg...
asked by 20.12.2016 / 21:06
1
answer

Catch the attribute of an element

How do I select the color of the div element's backGround? Note: Using javascript var cor; cor = document.getElementById(id).style.backgroundColor; #bloco1 { width: 280px; height: 120px; border: 1px dashed black; p...
asked by 24.11.2016 / 14:39
1
answer

Changes element color when clicked

I have this code, it shows 1 video when clicking on a table. Is it possible to change the color of the element that was clicked in the same way as with links? but with CSS? Example: video 1 red color, after clicking this option turn gray....
asked by 22.11.2016 / 16:36