Questions tagged as 'css'

1
answer

How to summarize a text within span? [duplicate]

Well I have the following code: <span>TÍTULO CONTAINER TEXO TEXTO TEXO TEXTO</span> I need this span to have width: 100% and that it has no line break, if the text is too large it has to summarize and put ( .....
asked by 30.12.2016 / 12:47
7
answers

How do I get an element inside an iframe?

Why does .contents() not work? How to get an element inside an iframe as in the jQuery API example <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>contents demo</title> <...
asked by 29.01.2014 / 23:01
2
answers

Stretched image in Internet Explorer

On a page I'm developing, a webpage where I have an image that adjusts itself according to the field space. to do this, I used the max-width:100% property that is advised on the web to make this kind of adaptation into responsive template...
asked by 16.12.2013 / 12:18
1
answer

Adding a circle around an image in CSS

I need to make a circle around a div with photo, but my image is not centering on the expected circle, having this result: Itriedtodothis: #avatar { margin: 0 auto; background-image: url('http://i.stack.imgur.com/Dj7eP.jpg'...
asked by 06.12.2018 / 13:52
2
answers

Style an input type = 'number' to change the arrows

How to customize input type='number' as the following image? Clickingon+/-addsorsubtractsthenumberinsidethebox.Currentlymycodeis:.bedrooms=f.input:bedrooms,:label=>false,as:"number", placeholder: 'Quantos quartos?', min: 0 which...
asked by 12.10.2018 / 22:48
2
answers

How to find CSS images and styles that are not used on a website?

When developing large-scale sites or retaking projects of other people where there are hundreds or thousands of CSS style lines, it can become complicated to review and pass the code clean to remove unnecessary images and styles from classes...
asked by 17.05.2015 / 08:14
1
answer

How to make a page load progress progress bar?

How to make a progress bar that loads as the page loads? Likethissitehere: link I saw an example in codepen.io , it kind of looks like this, I do not know as this progress bar is actually called.     
asked by 10.06.2015 / 18:46
3
answers

How to make divs with the same height and 100% height

I need 3 divs that I have the same height, and if the height is not 100%, turn 100%. Example: I have 3 divs <div class="menuEsquerdo"></div> <div class="toggle"></div> <div class="conteúdo"></div> When...
asked by 21.05.2014 / 21:20
2
answers

How to crop an image - HTML

I need to make an image within a div to have a width of 600px and a height of 300px without distorting the image. I have a notion about css3 and html5 and I'm working on the layout of a blog on the Blogger platform. I've...
asked by 27.06.2015 / 20:56
2
answers

How do I get the position of an element that uses the CSS transform property?

Imagine that I have a popup that is centered with transform:translateX(-50%) translateY(-50%) (if you have questions about this solution, you can see more about it here , adapted from these Answers ). So far so good, the ele...
asked by 13.03.2014 / 19:44