Questions tagged as 'css3'

3
answers

How to make a progress bar that goes from 0 to 100% with CSS only?

I need to make a progress bar that starts from 0 and goes to 100%. But I need to do only with CSS, and besides that, I need it when it reaches 100%, start again from 0. Although there is some information about this progress bar, I need it to...
asked by 14.12.2017 / 13:23
4
answers

Is it possible to make a tooltip with pure CSS?

Is it possible to make a tooltip with pure CSS? That is, without jQuery, without Javascript, but only with CSS. For example, I want to do this based on the following element: <a href="#" data-tooltip="Meu texto aqui" >LINK</a>...
asked by 04.12.2015 / 13:00
4
answers

Is it necessary to add prefixes in some CSS properties?

In many browsers, browser compatibility prefixes are added to CSS attributes. Example: .exemplo { -webkit-background-size: 50% 50%; -moz-background-size: 50% 50%; -o-background-size: 50% 50%; background-size: 50% 50%; } But if you l...
asked by 01.02.2014 / 00:59
1
answer

Which css selector has priority?

My question is very objective. Regarding css selectors. I have the following code HTML and CSS : #element p{color:blue;} .element p{color:red;} div p{color:pink;} div.element p{color:yellow;} div[name="ele...
asked by 01.08.2016 / 19:27
2
answers

Any way to style "parent" element with CSS

Hello, is there any way to select the parent element of another element with CSS? To be more specific, I am studying in localhost using the phpBB3 forums platform, when a message is grateful it gains the .bg1 class (the default being...
asked by 24.04.2014 / 19:03
3
answers

How to stylize a "file" input?

I have this structure: <section id="cadastro" class="cadastroVersao pg-i"> <div class="titulo"> <h1><i class="icon-clientes"></i>Cadastro de versão</h1> <a href="<?php echo base_url...
asked by 01.10.2015 / 22:54
2
answers

What do "n", numbers and signals mean in the "nth-child" or "nth-last-child" selectors?

I have always used the n combined with the nth-child or nth-last-child selector in CSS, but I still can not fully understand its meaning. For example: p:nth-child(3n+0) { background: red; } <p>Teste</p>...
asked by 23.08.2016 / 16:04
2
answers

How to make the button Incline?

I am using img but it is not a good practice, so I would like to use a button with some css attribute. Is it possible?     
asked by 02.04.2015 / 21:40
6
answers

How to create geometric shapes using CSS?

How can I make the geometric shapes below using preferably CSS? If it is not possible to do using only CSS, I also accept responses with other methods.     
asked by 24.11.2015 / 17:29
1
answer

Show image under another with hover css

How do I make the mouse pointer over an image appear with another opacity? For example: I have a div with the cover image of a movie, when I hover the mouse under the div, I would like to display the PLAY button. The only related material...
asked by 12.10.2015 / 17:10