Questions tagged as 'css'

2
answers

How to leave the Scroll of a smooth page?

How do I make the scroll bar on a page smooth? And if you can, how to customize it. Example: link     
asked by 03.05.2014 / 02:09
2
answers

How to make CSS ignore if the attribute is CAPITALIZED or lower case?

Imagine that I have a situation where I need to style multiple links on my page, but only links that end in .html , but I noticed that when I try to get the href attribute, I can only get the ones that end exactly with .html ,...
asked by 17.09.2018 / 16:40
3
answers

Use @media, @media screen and or @media only screen and Is there a difference?

I wanted to know if there is any difference in css when using one of these media queries, Example A: @media(max-width:770px) { .texto{ color:red } } Example B: @media screen and (max-width: 770px) { .texto{...
asked by 07.11.2018 / 16:13
1
answer

How do I increase the brightness of an element with Javascript / jQuery?

On my page I have several elements with different background colors. I would like to know how I could do to when clicking a button increase the brightness of the color, make it lighter. You can do this using javascript / jquery ? How?    ...
asked by 20.12.2013 / 04:45
2
answers

What is the clip property for?

I was taking a look at a code where I taught some techniques to create a responsive table. I came across the use of property clip , followed by rect(0 0 0 0); . Then I had this doubt: What is the clip property?...
asked by 11.04.2017 / 14:23
1
answer

Show GIF while page loads

I need a GIF to work while the page loads. I already tried a few ways but none worked. And when the page load appears Done! . More or less as happens on this site .     
asked by 08.03.2014 / 18:57
3
answers

Partially paint the border in css

I wonder if there is a way in css or even javascript to fill only one part of the border at a time, as if it were an animation in which the border is gradually populated and have control of how much is filled. > Example: Theideaistofillinthebo...
asked by 09.12.2018 / 04:16
1
answer

How does "position: sticky" work?

The sticky is a new value of the position property and I read a little and understood that it is possible to create HTML elements that behave at one time as position: fixed and in another as position: relative dependi...
asked by 23.11.2016 / 12:47
3
answers

How to make a flex container have the width of the internal divs?

Good afternoon, I'm creating a layout with height:100% where I have 2 groups, and within each group I align the DIV s vertically and if any DIV does not fit in height max or there is resize da page, it goes to...
asked by 06.10.2016 / 17:24
2
answers

Is it possible to create an uppercase input and maintain the lowercase placeholder in CSS only?

How can I leave my lowercase placeholder and my uppercase text in css? I've tried: input { text-transform: uppercase; } <input type="text" placeholder="usuário">     
asked by 18.12.2015 / 19:31