Questions tagged as 'css'

1
answer

Why does an internal alignment of a button button differ from a link a, even using the same class?

Well, I created a class called .btn , where I wanted to use it for both button and a . So I forced some things in this class to reset the original style of both button and a . For example, in a I removed...
asked by 01.08.2018 / 14:48
2
answers

Is it possible to do this with CSS?

As shown in the video below, Sony Spherize makes it look like the character in the photo is "breathing", is there any way to do the same, or simulate something like CSS? Linktovideo: link Or would it be better to create a GIF of t...
asked by 21.12.2016 / 01:13
2
answers

Property all in CSS. What is it for and how does it work?

I was looking at CSS properties and I knew all , I just found it a bit confusing. I know it has 4 states. They are: initial , inherit , revert and unset . But I do not quite understand how each one works. Qu...
asked by 08.10.2018 / 16:55
3
answers

Select elements that contain a particular "date" attribute

On the page there are several elements with data attributes. To avoid going to add CSS classes to the elements, making the page code denser, I would like to select elements by the name of the data attribute. Example <div id...
asked by 14.01.2014 / 15:33
2
answers

How to make an effect by adding a new item to a list

I have a list that updates from time to time and I would like to add a similar effect to this site: Site This is the list that is in the middle of the site. Where, when a new item enters the list, the rest of the items go down making an...
asked by 23.03.2014 / 01:20
2
answers

How to disable mouse scroll button?

I would like to know how to disable the scroll central button ? I do not want to take the scroll just the scroll button of the mouse that has a right-hand side up and down when I click it, I want disable it.     
asked by 17.04.2015 / 21:15
1
answer

How can one CSS style class inherit from another class?

I have a circulo class with several properties: font and shape, etc. and I have another class circulo1 with the size and color property. I have to make several circles of different sizes with the same color and in several different pl...
asked by 17.10.2014 / 09:25
1
answer

How to use "and" in CSS3 selectors?

I'm trying to select only inputs whose class starts with "btn_" and also has type="button" . Example: input[type="button"] **&&** [class^="btn_"] Is it possible to do this?     
asked by 21.10.2014 / 21:24
3
answers

How do one column occupy the rest of the available space?

I would like two blocks within a parallel-sized div, one with a fixed size, and another that fits exactly in the remaining space. For example: div#container { width: 50%; /* este tamanho se altera */ height: 100px; } #esquerdo { widt...
asked by 08.04.2015 / 06:27
2
answers

Placing a background image and making it responsive

I'm having a problem putting a background image on my page. I did some testing and it stays that way when I change the size of the window: WhenIgetmaximized,it'sright: HowcanIadjustthisimagetogetthescreencorrectly?CSS:.login-page{background-...
asked by 17.09.2015 / 13:41