Questions tagged as 'css3'

2
answers

Handle 1-pixel border to avoid double edge (1 + 1 pixel) with side-by-side elements

I have a grid created with a ul list whose inner elements at li contains a border. The idea is that when the elements are side by side the edges are manipulated so that there is only a single trace with 1 pixel instead of what happ...
asked by 13.01.2014 / 18:55
0
answers

What is the difference between the Media Query Pointer and Any-Pointer?

I was seeing a way to determine if user access is done by a Desktop, usually by having a mouse as the interaction device. Or if the user is accessing a mobile device, usually without the mouse to interact with the screen. Then I saw that...
asked by 17.12.2018 / 12:26
0
answers

Development showing different types of calculations [closed]

I need help putting together a page, program, or application that does the following math basics topics and shows the calculations that the program did.    Object Transposition    Object rotation    Object Increase (independent width and h...
asked by 07.06.2016 / 18:54
1
answer

How to apply! important in a property with multiple values

I'm having some difficulties with the precedence of CSS selectors to create a dynamic background (transition of images.) in the first section / div displayed on the site. I currently have the following scenario: HTML: <section id...
asked by 02.01.2015 / 19:13
2
answers

Sort styles with prefixes in CSS

Sometimes when I see CSS prefixes like -webkit , -moz and even -ms . So I had some questions about them: Why do some styles do not need prefixes (like background , for example)? Is there a correct (or recommended)...
asked by 13.10.2017 / 18:39
4
answers

Changing Placeholder in Focus with CSS is it possible?

Imagine that I have a input for the phone number, but that when the user focuses on it I want to change the text from placeholder , for example from "phone" to "just numbers" . You can do this with CSS in :focus for exa...
asked by 12.12.2018 / 14:54
3
answers

Margin in percent is relative to what?

I'm currently seeing a video on youtube on how to create a responsive website . He, at a certain point (minute 24.55), sets the margin of an image in percent rather than using the normal pixels. What I do not understand is what width or...
asked by 11.10.2014 / 12:51
5
answers

How to center a div with position: fixed?

I wonder if it's possible to center a div with position:fixed ? Currently I tried to centralize it using margin:0 auto but it did not work ... unfortunately as the width of my div fixed will be dynamic I can not use left and...
asked by 22.09.2014 / 23:15
2
answers

How to effect cascade with Javascript / jQuery?

Imagine that I have a list of 20 <li> blocks, and that when the page loads, each of them should be shown with a millisecond difference from one to another (this would be done with CSS3 , so code just have to add a class in the...
asked by 06.04.2014 / 00:38
3
answers

How to have more than one border in an element with CSS

I have an element, but I wanted it to have multiple edges. I did not want to have to use multiple divs for this ... I wanted something around 10 to 8 borders. Is there any more practical way of putting more than a border and an...
asked by 16.10.2018 / 19:51