Questions tagged as 'css'

4
answers

Is it appropriate to create a 'CSS Sprite' with images of disparate dimensions?

Is it appropriate to create a CSS Sprite with disparate-sized images? For I have exact 20 images where their height and width are limited: Maximum image height is 60px; Maximum width is 100px; But the dimensions of each image var...
asked by 29.05.2015 / 14:26
3
answers

Why does height not accept percentage?

I created this Fiddle as a test. I want to have split screen half green, half red, why is it in the height property I put the value followed by "%" to div disappears? Being here says that you can use "%".     
asked by 09.04.2015 / 11:54
2
answers

Why setting a CSS property with the! important attribute does not work in the .css () method?

I would like to know the real reason for the inability that the jQuery.css () function has, which would be the fact that when using the !important attribute on any assigned CSS property, it is not added. I would also like to know if...
asked by 20.02.2014 / 00:12
1
answer

What is the difference between css and javascript animations?

Lately I've been studying some animations with CSS. However, by researching more about the subject, I ended up checking that it is possible to do animations also with javascript. What's the difference? Which is more feasible? I know tha...
asked by 05.05.2015 / 20:55
2
answers

Is there any difference between clip property and overflow?

Studying the clip property I came across the following statement:    The clip quer property works similarly to overflow   with some differences. This gave me some doubts: Is this a true statement? What would these diff...
asked by 18.04.2017 / 03:32
2
answers

Doubt about @media

I made the front end of a site where your main layout was 1920px and I'm adapting to other screens, using: @media (min-width: 0px) and (max-width: 1920px) {} I saw that IE8 is not working, is there any alternative to work around this?     
asked by 21.02.2014 / 20:39
2
answers

CSS or JQuery for animation

When it comes to animation, which one should I use? Which is the lightest? Is it possible to do the same animations in either one?     
asked by 21.02.2015 / 19:29
3
answers

Create markup with predefined symbols

I did not know how to choose a specific title in the face of my doubt, so it was this very vague way. I've been trying to do the following for a while: Assuming I have <p> : <p>Olá, $está tudo$ bem?</p> I ne...
asked by 15.11.2015 / 23:05
5
answers

Distribute li list in two columns

I'm trying to create a list with 4 blocks, but they are not aligned side-by-side correctly, look like this: Iwouldlikeittolooklikethis: HTML: <li></li> <li></li> <li></li> <li></li> CSS...
asked by 03.12.2014 / 04:31
1
answer

What is an adjacent sibling? In what does it differ from a brother node?

A concept that confuses me when talking about HTML is adjacency , and we sib >. What's the difference between siblings and adjacent siblings ?     
asked by 16.06.2018 / 00:50