Questions tagged [cover]

219 questions
51
votes
6 answers

background-size: cover not working in portrait on Android tablet

I'm using the background-size property for a full width and height background image but having trouble getting it to fully cover in Chrome on a Nexus7 tablet in portrait view. It only covers the width and not the height i.e. there is about 200px of…
maceyj2
  • 666
  • 1
  • 5
  • 7
46
votes
3 answers

Golang coverprofile output format

I'm trying to make sense of the -coverprofile cover.out option in go test, specifically the format of the file. Covering server.go for example, yields the output in cover.out: mode: set github.com/cnuss/api_server/server.go:47.2,48.16 2…
Christian Nuss
  • 841
  • 2
  • 7
  • 13
41
votes
2 answers

Scale and reposition iframe like background-size: cover

html, body { height: 100%; margin: 0; padding: 0; } .sized { height: 100%; position: relative; background: #eee; overflow:hidden; padding:0; } .sized iframe { position:absolute; left: 0; top: 0; width:…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
29
votes
11 answers

Background-size: cover suddenly stopped working in Google Chrome?

Is anyone else having this issue? I create websites for a living, and some employ the use of the css property background-size: cover. All of the sudden about 1 week ago, all of the sites with this property no longer display right in Google Chrome.…
malfy
  • 815
  • 1
  • 10
  • 13
26
votes
6 answers

Prevent fixed-position background-image: cover from resizing in mobile browsers upon address bar hide

Sorry for a lack of example on this one, but I figure it's easy enough to understand. I have a fixed background on my site, which is currently implemented like this: #background { position: fixed; top: 0; bottom: 0; left: 0; …
addMitt
  • 951
  • 2
  • 13
  • 27
18
votes
1 answer

When rotating an iPhone X to landscape, white space appears to the left and below cover image

A weird problem occurred today. While testing a simple "coming soon" page my background image on my iPhone X is not filling the entire viewport when rotating to landscape. Tested in Chrome and Safari. A simplified example that produces the…
Tim Wickstrom
  • 5,476
  • 3
  • 25
  • 33
17
votes
1 answer

Tagging mkv files with cover images?

I found this screenshot which shows that you can add a cover image to an mkv file in a way that it is displayed as the icon of the file in the Windows explorer using Shark007+icaros. But these tools are messing with the system in a really bad way.…
Forivin
  • 14,780
  • 27
  • 106
  • 199
17
votes
5 answers

Position element over background image. But the BG img changes size with the window. CSS

I have a background image which changes size to the windows size, and I need to position an element on it so that it is always in the same place relative to the background image. HOW!? CSS background:url("http://placehold.it/100x100") no-repeat…
Dustin Silk
  • 4,320
  • 5
  • 32
  • 48
14
votes
1 answer

Python Mutagen add image cover doesn't work

i try to edit mp3 tags with mutagen. Now i got it working to set tags like title. But APIC still not work. My code: from mutagen.mp3 import MP3 from mutagen.id3 import ID3, APIC, TT2, TPE1, TRCK, TALB, USLT, error # ID3 info: # APIC: picture # TIT2:…
Daniel Däschle
  • 766
  • 10
  • 32
13
votes
2 answers

Minimum vs Minimal vertex covers

I am studying for an exam and one of the sample questions is as follows: Vertex cover: a vertex cover in a graph is a set of vertices such that each edge has at least one of its two end points in this set. Minimum vertex cover: a MINIMUM vertex…
panicked
  • 131
  • 1
  • 3
11
votes
5 answers

background-size:cover leaves blank space in Chrome for Android

I'm trying to get a nice fullscreen image background for my website. It's working fine in almost every browser I tested in (browsershots.org), but in Chrome on my Android tablet it's not working as expected. As you can see there's a lot of white in…
Jurgen
  • 343
  • 3
  • 13
10
votes
4 answers

How do I use TagLib to read/write coverart in different audio formats?

I would like to use TagLib to read/write coverart especially for mp3 AND ogg files, but I couldn't find any examples. Could someone point me to some examples? Where should I look to find more information about this?
Bernd
  • 1,201
  • 3
  • 12
  • 10
10
votes
9 answers

Full width image with fixed height

I'm trying to create an image looking like the cover image here, using only css and html. I've tried different things but nothing has worked so far. This is my html code:
What css code…
Simon
  • 179
  • 2
  • 3
  • 12
8
votes
2 answers

iOS 8 album art cover

Since iOS 8, all the data arrays for album art from iPad & iPhone devices returns a null array. I can get album art or cover art when pulling from a local file(NSBundle), but any songs on purchased from iTunes or on the device itself returns empty.…
Tae Re
  • 163
  • 1
  • 8
7
votes
1 answer

CSS Sprite + background-size:cover

Is there a way to use background-size:cover on images loaded with CSS Sprite? Example code: [class*='img-sprite-']{ background-image:url('../images/sprite/img.png'); background-repeat:no-repeat; …
Trawlr
  • 149
  • 2
  • 8
1
2 3
14 15