Questions tagged as 'css'

1
answer

Hover Effects Interference

I am facing a strange problem. I have some links to social networks with border-radius and with hover of edge rotation, as in the image below: WhenIgivehovertothesesocialnetworklinks,adivthereonanotherpartofthesitelosesitsborder...
asked by 16.01.2015 / 16:24
3
answers

How to make an Inverted Border-Radius?

I was testing border-radius and I got a debt ... Is there any way to with CSS invert the radius of curvature of border-radius ? This is the shape shape I would like to get Butfromthedocumentationitseemsthatborder-radiusdoesno...
asked by 02.08.2018 / 19:27
3
answers

How to align the text in front of another element?

I was able to round the edges of the div just not being able to align the text in front of the div. My code looks like this: .boxEtapas { overflow: hidden; } .etapas { margin: 0 auto; } .etapas ul { list-style: none; }...
asked by 02.12.2016 / 16:40
3
answers

Switch the image on smaller screens

I have the following code: <div class="container-fluid"> <h1> Áreas de Atuação </h1> <div id="hr-atuacao"> <hr> <div class="card-columns"> <div class="card-img"> <img class...
asked by 07.10.2017 / 18:51
3
answers

Tag img. When loading an image of the bank it appears lying down [closed]

Some photos that are loaded from the database into my <img> tag appear landscape, but when I open the PC image it is upright. This is the part that receives the image. HTML <img src="<?php echo $caminhoFotoEdit...
asked by 04.10.2014 / 05:19
2
answers

How do these sites load your HTML?

I ended up looking at source code from websites like Gmail.com and Secret.ly and I noticed that the HTML is embedded in JavaScript, what technology do they use? It looks like this: <script>var codes = {"AutoControlHeader":true,"CanSub...
asked by 19.11.2014 / 18:53
3
answers

I need a function to add br under certain conditions [duplicate]

I want a function that adds the <br> tag when the text has no spacing, I made a Fiddle with the problem: link . This function can be done in JavaScript or PHP. <div class="post"> <p>kkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
asked by 29.10.2015 / 20:00
1
answer

Text "leaks" behind th using CSS position sticky

I'm using position: sticky; in <thead> of a table where I assign a background color to <th> . My intention is that when the page scrolls, the header remains visible because the table has many rows and this make...
asked by 05.12.2018 / 21:54
5
answers

How to put a colored layer over an image?

div { background: #000; width: 640px; height: 640px; opacity: 0.2; position: absolute; z-index: 99; } <span> <div></div> <img src="https://scontent.cdninstagram.com/t51.2885-15/e15/11909170_99939...
asked by 12.01.2017 / 05:06
3
answers

Why are you concatenating instead of adding?

My code is concatenating instead of adding. what would be my mistake?. var cFinal = 0; var cFabrica = prompt("Insira o valor de fabrica do veículo"); var comissao = 0.28 * cFabrica; var imposto = 0.45 * cFabrica; cFinal = cFabrica + comissao +...
asked by 30.08.2017 / 20:59