Questions tagged as 'css'

4
answers

How to center button text vertically [duplicate]

Can someone help me centralize button texts? I've tried everything I found on the internet and nothing works.     
asked by 26.02.2018 / 17:41
3
answers

Print page with Background

I'm working on creating and printing reports with PHP, where a webpage is generated with the content of the report. I would like to put the watermark "CANCELED" when a report is canceled. For that, I'm using an image as a background, but the ima...
asked by 17.01.2018 / 13:17
3
answers

Is it possible to create predefined values in css?

How can I add pre-defined values in CSS? As if it were a variable to store. For example, a color (hex or RGB) so I could use it in the rest of the document, so instead of typing the color value, I would just type the name of the "variable"....
asked by 06.10.2015 / 23:18
2
answers

How to click and descend a hidden part?

I know the question is confusing, but it's the following, I made a jQuery code through codeacademy (jQuery Functions and Selectors 11.Click and Pull), and there teaches you to do an algorithm that I found very cool, but it only works there, in m...
asked by 19.11.2015 / 02:15
1
answer

I can not solve a goal using ": hover". What to do?

I'm doing an institutional website and it's a type of web-design agency, but it's more to learn. Then in the home I made several links with links to the pages of the services. And in each block my intention is to make when hovering over a sho...
asked by 29.10.2014 / 02:53
2
answers

How to separate icon from text in a div

I'm creating an element for my site (which is responsive), however, I can not seem to leave the elements separate. Here are some prints: As is: HowIwantittostay: EXAMPLE - JSFiddle     
asked by 10.05.2014 / 03:46
2
answers

How to use css calc () on safari?

The calc () on safari is not working. I tried to put the prefixes and it did not work either. Does anyone know a solution? I'm using this way: #myDiv{ width: calc(100% - 160px); width: -webkit-calc(100% - 160px); wid...
asked by 07.03.2014 / 15:40
1
answer

Css in all options except one

I'm trying to apply a css in an option tag. In case you would like only the options that have value starting with 2 to be in blue, like the example below: $('.select-user option').each(function(){ if(this.value.startsWith('2')){...
asked by 16.08.2018 / 15:17
2
answers

Float :; not working CSS

I want to align these blocks horizontally, but the use of float :; not responding, what error am I making? .fl > div{ float:left; } div:nth-child(1){ position:relative; width:300px; height:300px; background-color:#066;} div:nth-ch...
asked by 19.06.2018 / 03:01
2
answers

How do I get this effect in a progress bar?

How to make this effect in the text inside the progress bar where the text changes color according to the fill of the bar, and when the bar reaches the text, only a part of the text changes color? Noticethatwhenyou'rein50%halfthetextcolortur...
asked by 10.01.2018 / 22:34