Questions tagged as 'css'

1
answer

Vectorized Images, Awesome Font, Bootstrap Glyphicons. How do they work, what are the advantages and disadvantages?

I was checking out Font Awesome and Bootstrap . Home They use a font scheme for icons: In Awesome Font I saw the following files:    FontAwesome.otf    fontawesome-webfont.eot    fontawesome-webfont.svg    fontawesome-webfont.ttf  ...
asked by 08.12.2014 / 22:28
2
answers

How to align a mosaic with CSS?

I have the following code: .exemplo { width: 800px; } img { width:100%; height: 100%; } .home-videos { /*@extend .col-md-3;*/ width: 200px; height: 150px; padding: 5px !important; box-sizing: border-box;...
asked by 06.11.2017 / 18:33
1
answer

An image about two divs

I am currently dealing with a project and using Bootstrap v3.2.0 as the main tool. My layout follows the single page line, and each topic is approached as a window for the user, with all available space being taken advantage of. I need to mak...
asked by 09.10.2014 / 18:18
3
answers

Hide / edit the appearance of select

I'm cracking my head to try to get the select from my site to agree with my css. In fact, only in Mozilla that the saying whose does not look the desired. I was looking for some jQuery to do editing these elements, but the problem is that on...
asked by 26.08.2014 / 14:56
1
answer

Change image src when input value equals a given value

Good evening! I have a login input and an img with the user image. I'm trying to change the user's image when this input loses focus and the value entered matches a given value. ex: if I type in this input Potato I will change the src pointing t...
asked by 07.12.2015 / 23:47
2
answers

Button next to input text bootstrap 3

I have a problem that I can not put my input file button next to my input text. I searched, tried some things I saw there and nothing. Maybe it's a silly thing, but I'm kind of new to CSS so I'm kind of lost. I made a JSFiddle with my current...
asked by 02.12.2015 / 15:36
1
answer

CSS should be Shorthand or Longhand

Set the correct practice, use CSS with Shorthand or Longhand ? I looked, but I did not find a definite answer ... When we declare the class with Shorthand we are saying that all other values should be set to initial . I will only...
asked by 23.01.2018 / 20:47
5
answers

Hierarchy between CSS styles

I am studying some more efficient ways to stylize an application using themes. My idea would be to use something like this: <div class='tema-1'> <button class='btn btn-primary'>botão principal</button> </div> .te...
asked by 29.06.2015 / 22:20
1
answer

Closure Compiler JS - CSS Transform into a bulk process

Google has two tools for compilar/minificar optimizing JS and CSS files, Closure Compiler JS and Closure Compiler CSS . To run the build process I can do the following: java -jar compiler.jar --js hello.js --js_outp...
asked by 07.07.2015 / 15:52
2
answers

Change in css only in iOS

I need to make a css change only on iOS, I've used if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {}  But it did not work. The code I need to change is this one. .sdn-music-player>.yt-wrap>iframe { left: -22px;...
asked by 26.08.2015 / 16:55