Questions tagged [cover]

219 questions
0
votes
1 answer

Scrollbar appears when I want to adapt a grid to the viewport

This is driving me crazy. Just trying to fit this grid into the entire page with height and vw value. But when I write it on CSS it appears the scroll bar!!! How do I fix this? Here's the html. It's just a basic thing but I don't know what to…
S L
  • 3
  • 1
0
votes
1 answer

React-Native | I can't get the bg image to cover

I'm trying to fit my background image to cover the whole app but its not, even though i've tested most of similar threads here so any help is appreciated. I've made some changes to the original source and added an arrow towards the left edge of the…
Niqqo
  • 41
  • 1
  • 7
0
votes
0 answers

Algorithm to distribute N points in a rectangle

Given a rectangle of width W and height H distribute n points such that at every point has another one at distance at most (d_r) and no other point at distance at least (d_c). We can suppose d_r < d_c. My first idea has been to distribute points…
Zan
  • 288
  • 1
  • 11
0
votes
1 answer

How to make background image cover and fit screen without losing part of the picture? Wordpress - Divi - CSS

I'm trying to make my background image fit the screen without being cut out. I am using Wordpress with the Divi theme and I added additional CSS too. This is the code I used to make the page with a full background image .page-id-7…
DAN
  • 15
  • 1
  • 7
0
votes
4 answers

Cover child img with parent div

I want to cover the child img with the color of the parent div. Actual the child img covers the divs color. I gave the child a lower z-index then the parent, but that changes nothing. I can't add new html-tags and want to use css. Have somebody a…
Ev genij
  • 1
  • 1
0
votes
2 answers

Need multiple "background-size: cover;"?

I am trying to build a project for fun and I want to create a page that has multiple images when you scroll down. I am using HTML and CSS. I want the layout to be similar to background-size: cover; but apparently you can only use 1 per page? Here is…
0
votes
1 answer

"Exact Cover" Wikipedia detailed example, question about the very last step

I'm following the great Wikipedia example of solving a simple "Exact Cover" problem using Knuth's "Dancing Links" DLX algorithm - example is here: https://en.wikipedia.org/wiki/Knuth%27s_Algorithm_X#Example On the VERY LAST STEP they show the…
Mark Bennett
  • 1,446
  • 2
  • 19
  • 37
0
votes
1 answer

Use filter_complex output as MKV attachment in ffmpeg

I'm trying to scale and crop an image and use it as MKV attachment in one shot, but without success. I understand that the "-attach" command does exactly that, but the problem is that I don't have the final image as a file. Instead I'm trying to…
0
votes
1 answer

Header image repeats with background: cover;. How can I fix this?

My goal is to create a bakery website, hence the title and image, and the site will not be published to any servers. I would like to have an image at the top of my page beneath a navigation menu that keeps the same aspect ratios when I resize the…
mrees0903
  • 3
  • 4
0
votes
1 answer

Javascript style.background not allowing me to adjust size of image

I want the background image of the red section to change when the user hovers over the blue section. I have got this to work fine with the following code