Questions tagged as 'css3'

2
answers

What is the relativity of the rem unit?

I have the following style sheet: html{ font-size: 16px; margin: 40px; padding: 32px; } p{ font-size: 1.5rem; padding: 2rem; margin: 1.8rem; } I know the font of my paragraphs will be 24 pixels in size. But what abou...
asked by 14.11.2014 / 13:55
1
answer

CSS Performance (CSSOM and selectors)

Given the CSSOM assembly by the browser and parser (read) that is given right to left . I would like to ask a question because I was writing a css in a project and I always have performance issues with me not using Type Selectors and I try...
asked by 28.07.2015 / 18:10
1
answer

How to fix CSS problem with letter-spacing and right-aligned text?

I have a situation in which I have a container with two lines of text in right-aligned. Only one of the lines has the letter-spacing: 15px; property to increase the spacing between the characters. The problem is that letter-spacing...
asked by 19.11.2018 / 13:24
2
answers

How to make these divs responsive?

I'm creating "informative" to put on the home page of my site and need a light. I wanted it to look like this: Andwhenthevisitor'sscreenresolutionwasdeclining,thetitle'sanddescription'sdiveswereshrinking.Andwhentheresolutionwasverysmall,like500,...
asked by 09.03.2014 / 00:33
3
answers

Keep the height of a div block proportional to its width

Hello, I have a block div as a vertical column of indeterminate width and height, as they depend on the amount of content and the device, and I want it to have another block div on the top that has width: 100%; but the height...
asked by 25.04.2015 / 07:51
1
answer

Align divs vertically to middle (middle)

I have the following code: @charset "utf-8"; /* CSS Document */ img { border: 0; max-width: 100%; } div.cabecalho { position:relative; width:100%; height:200px; border:.1px solid #000000; } div.cabecalho div.logo, div.ca...
asked by 27.04.2018 / 16:42
2
answers

App style in pure CSS3 breaks while running on Android

I'm making an app with Cordova + Sammy.js and pure CSS3. I can make the app perfectly responsive and with all styles working on Chrome and FireFox . It turns out that when I build the cork and open APK in Genymotion (running Android 4.4+...
asked by 15.02.2015 / 02:57
2
answers

How to put responsive divs regardless of height size?

I have a Bootstrap project with 4 divs in each row, side by side behaving responsively. Each of the divs has a certain content. The width of the images will be fixed but the height will not. If one of the images has a height , the rest of...
asked by 17.09.2015 / 16:13
1
answer

Timeline Effect

I would like to know if there is a plugin for the same effect as this site here: link As for how it works, it has a sort of vertical ruler.     
asked by 26.05.2015 / 18:22
1
answer

Element inline

Hello, I wanted to take a question because an element <a> inline does not work padding-top a{padding-top:80px;background-color:#2c3e50;text-transform:none;color:white;}     
asked by 01.05.2016 / 07:06