Questions tagged as 'css'

1
answer

How can I make an image when I move the mouse, does a text appear in the center of the image?

How can I make an image when I move the mouse, does a text appear in the center of the image? with css code, or other.     
asked by 30.05.2016 / 14:43
4
answers

Difficulty with CSS in a JSF2 project

Greeting for all, I'm new as a Java programmer with JSF projects, I want to put an image as the page plane, and I do not know how to do it. This is the structure of my project; Itriedtoputthelineofcodeinthecssfilelikethis;background-ima...
asked by 08.07.2015 / 19:33
1
answer

Mount table with div

I have the following table in HTML <table style="width: 100%"> <tr> <td style="width: 50px"> <img src="https://s32.postimg.org/x1llms2ph/caixa_padrao.png"> </td> &...
asked by 11.07.2016 / 14:27
2
answers

Div or image appears only inside another

I would like to put a div or an image (preferably div, if it is possible) inside another one, for example, I wanted the Div not to appear outside the other if it is surpassing behind. href="https://i.stack.imgur.com/XBKF2.png"> In the examp...
asked by 07.07.2016 / 16:22
1
answer

sass - how to compile the mined file?

I use sass to help with development, but would like to optimize the final result of the generated css, would it have some way of generating the already mined .css file? I use the following command to compile the .scss files sass --watch scs...
asked by 30.04.2015 / 20:32
2
answers

Opacity in Pseudo-Element and Parent

I want to make a div with the left corner tilted, but it is not working. Is this the right way to do it? In my case it even works because the div parent has overflow , so neither does the rest of :before appear b...
asked by 30.09.2015 / 21:33
1
answer

Affix (Bootstrap) in div with images does not work

I'm trying to fix a div containing two images (one below the other) but following examples and making some modifications the result was very different than expected, when I scroll the page div immediately goes to the left side of the page and re...
asked by 31.12.2014 / 13:39
1
answer

border on TR not showing

I'm applying border in the TR of the <tables> but in no way it appears, see the code snippet: .rwd-table tr { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } See complete code: .rwd-table { margin: 1...
asked by 05.01.2015 / 22:52
2
answers

CSS pseudo-class: nth-of-type ()

See ... div .p:nth-of-type(2) { font-weight: bold; } DIV 1 <div div="div1"> <p class="p">p1</p> <p>p2</p> <p>p3</p> <p class="p">p4</p> </div> DIV 2 <d...
asked by 05.01.2015 / 19:38
2
answers

Click on A throughout LI

I have HTML: <li class="duoBtsAnalise"><a href="#">Análises de Risco</a></li> I want the a click to be active on all li . My CSS: .duoBtsAnalise { background-image: url("../imagens/duoAnalise.jpg");...
asked by 12.01.2015 / 12:56