New answers tagged

0

I just got off the phone with support. The Extract option is no longer available as of last month. Real shame!


3

Let's say we've loaded a Bold font variant like so: @font-face { font-family: 'Raleway Bold'; font-style: normal; font-weight: 700; src: url(path/to/font/raleway-bold.woff2) format('woff2'); } I would argue in favour of using both font-family and font-weight in your style specification. For example: h1 { font-weight: 700; font-family: '...


0

While both ways will give you the correct output, there is a long withstanding industry standard of using a single font-family with different weight and styles. In fact, if you use Google fonts to load Raleway you would be using the single font family route. Let's outline several reasons why this is the better route. It reduces CSS complexity an, ...


-1

There is no one right answer, there are actually two: Recommended by Google (e.g. in Udacity course on Material Design): Use a simple conversion, which in many cases is 1:1 just like in Polymer library. It's not right for retina display for example, so rather than 1:1, use a density ratio provided in the device table in the official Material Design Guide(...


0

try define css rule for text: word-spacing: 0px; If this is not sufficient, try to use negative values: word-spacing: -5px;


1

More to compliment Luciano's answer than counter it: Another thing to take into account is connection speed and bandwidth - you don't want to be firing a massive image over the web if you can get away with it. One option is to have two versions of the image, one acting as a thumbnail and the other as the full sized image. Though JPEGs have compression, it'...


3

There is no way to scale up an image without losing quality. In that case, you should scale your image down. So instead of saving it as 300x300, save it as 600x600. Search for good optimization / compression methods, maybe use PNG instead (because sometimes a PNG-8 compressed can be smaller than a JPEG). You probably need to use a different tool to ...



Top 50 recent answers are included