Questions tagged as 'css'

4
answers

Use color, RGB or hexa names?

In this MDN documentation I find a huge list of color names that can be used in CSS with their respective values in hexadecimal. For example: -------------------------------------- | nome em En | nome em Pt | hexa | -----------------...
asked by 11.06.2018 / 19:19
3
answers

How to compare HTML elements by real z-index?

Given two arbitrary HTML elements A and B on the same page, how can I find which one is "closest" to the user (i.e. if they overlap, which one would obscure the other)? The W3C CSS specification describes "stacking contexts" ( stacking cont...
asked by 22.12.2013 / 21:47
5
answers

How to remove auto complete from google Chrome input?

I want to remove yellow background when auto completion of Google Chrome is enabled. I tried disabling auto complete by applying: autocomplete="off" and I was not successful. The image above is the view in Chrome and the bottom is...
asked by 05.05.2015 / 22:24
3
answers

How to work around poor rendering of a font in Internet Explorer?

I'm using a font-kit generated in Font Squirrel and I'm getting different results in the Mac OS X and Windows environment. Would there be any way around the bad or different rendering of the Internet Explorer font? In Mac OS X: InWi...
asked by 16.12.2013 / 12:18
3
answers

How to make a pure spinner in css?

Is it possible to make a spinner with pure CSS without Javascript? <div class="main spinner"> O que é Lorem Ipsum? Lorem Ipsum é simplesmente uma simulação de texto da indústria tipográfica e de impressos, e vem sendo utilizado desde o s...
asked by 05.05.2018 / 18:13
1
answer

What is the difference between Less and Sass?

What is the difference of each and advantages and disadvantages?     
asked by 03.09.2014 / 03:16
3
answers

How to create a select with images in the options?

I thought I'd be able to make a simple% s in html with image, but it does not work. I'm beginning to think that this is a problem for modern browsers or HTML5. CSS select#gender option[value="Prima"] { background-image: url('../pro...
asked by 16.04.2014 / 21:21
6
answers

How to disable the scrolling of a web page?

I've been trying to disable scrolling a page. All I have found are solutions of the type: #container{ overflow: hidden; } But this just hides the scroll bar. How would I disable scrolling even with it being displayed on the screen ?...
asked by 20.02.2014 / 00:47
1
answer

How to stylize the scroll bar?

Good, I have wasted some time looking for solutions to this but I do not find it, I have a scrollbar and liked to shrink its size. Can someone point me to a site or tell me what it takes to make this possible: Thank you     
asked by 12.06.2015 / 16:04
2
answers

How could you make a pacman by moving your mouth with pure CSS?

In order to delve deeper into CSS, I would like to know different ways to make animations. My goal is to know some new properties and features that CSS has been implementing. In the specific case, I would like to know what would be the simple...
asked by 02.08.2018 / 21:23