overlay

CSS Image not scaling on hover

喜你入骨 提交于 2021-02-10 18:31:31
问题 I've made a responsive image grid and am trying to add a hover effect to it so that the image gets a dark overlay and some text fades in on it. However, I've been having a tough time implementing it. Here's my HTML structure. <div class="tile"> <img src="some_image" class="animate"> <div class="overlay"> <p>Mahatma Gandhi</p> </div> And here's my CSS .gallery .row .tile:hover ~ .tile img { transform: scale(1.2); } However upon hovering over the image, it does not have the expected behaviour.

Overlay of type “TYPE_ACCESSIBILITY_OVERLAY” hides navigation buttons

别等时光非礼了梦想. 提交于 2021-02-10 14:24:57
问题 I'm adding a view to windows manager using these layout parameters: WindowManager.LayoutParams params = new WindowManager.LayoutParams( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY, WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH, PixelFormat.TRANSLUCENT

Overlay of type “TYPE_ACCESSIBILITY_OVERLAY” hides navigation buttons

本秂侑毒 提交于 2021-02-10 14:24:01
问题 I'm adding a view to windows manager using these layout parameters: WindowManager.LayoutParams params = new WindowManager.LayoutParams( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.TYPE_ACCESSIBILITY_OVERLAY, WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH, PixelFormat.TRANSLUCENT

ffmpeg overlay on multiple outputs

半城伤御伤魂 提交于 2021-02-10 13:26:29
问题 I'm using ffmpeg 3.4.1 to transcode a highres video file into several lower resolutions with a logo in the corner: ffmpeg -i "test.mxf" -i "logo.png" ^ -filter_complex "[0:v][1:v] overlay" ^ -s 640x480 -c:v libx264 -b:v 1000K -c:a aac -b:a 96k "test.640x480K.1000K.logo.mp4" ^ -s 1280x720 -c:v libx264 -b:v 2200K -c:a aac -b:a 192k "test.1280x720K.2200K.logo.mp4" But this way there is only a logo in the first output file. I have tried using map, this gives me logos in both output files but then

Pure CSS overlay scrolling

微笑、不失礼 提交于 2021-02-10 12:54:46
问题 using only css and html, is it possible to scroll away the inner div (overlay red div) completely before scrolling down the rest of the page? Essentially, wondering if overlay scrolling while freezing the behind div is possible in only css? Then once the red div is gone, unfreeze the background scrolling and continue on. Similar to this site here: https://humaan.com/ . Or would some sort of JavaScript need to be used? .headervideo{background-color:blue; width:100%; height:900px;} .headerbreak

Pure CSS overlay scrolling

安稳与你 提交于 2021-02-10 12:53:11
问题 using only css and html, is it possible to scroll away the inner div (overlay red div) completely before scrolling down the rest of the page? Essentially, wondering if overlay scrolling while freezing the behind div is possible in only css? Then once the red div is gone, unfreeze the background scrolling and continue on. Similar to this site here: https://humaan.com/ . Or would some sort of JavaScript need to be used? .headervideo{background-color:blue; width:100%; height:900px;} .headerbreak

FFmpeg Reloading Changed image overlay whilst using a complex filter/

浪子不回头ぞ 提交于 2021-02-09 11:58:08
问题 I am currently using this code to overlay an image over a stream . I would like to change the image being overlayed regularly. I am using a second script to cp a randomly selected jpg from a folder to a specific folder/advert.jpg every minute. When i run ffmpeg it keeps on using the original image even though the original image in the directory would have been overwritten. ffmpeg -re -i "http://127.0.0.1:8000/251.m3u8" -loop 1 -i "/home/johan/CurrentAd/advert.jpg" -filter_complex "[1]trim=0

overlay rasters at a given value

余生颓废 提交于 2021-02-08 06:15:30
问题 I am relatively new to using R and working with GIS data. I am trying to create a function to overlay two Raster layers, only when one of the rasters (in this case raster1 ) is at a certain value (in this case 0). I have tried numerous options in doing this but they don't seem to work. My last attempt is provided below, and it runs but the output just says NULL and it does not plot. library(raster) raster1 <- raster(ncols=10,nrows=10) raster2 <- raster(ncols=10,nrows=10) values(raster1) <-

overlay rasters at a given value

浪尽此生 提交于 2021-02-08 06:15:10
问题 I am relatively new to using R and working with GIS data. I am trying to create a function to overlay two Raster layers, only when one of the rasters (in this case raster1 ) is at a certain value (in this case 0). I have tried numerous options in doing this but they don't seem to work. My last attempt is provided below, and it runs but the output just says NULL and it does not plot. library(raster) raster1 <- raster(ncols=10,nrows=10) raster2 <- raster(ncols=10,nrows=10) values(raster1) <-

Remove previous mat-dialog's CSS from DOM

寵の児 提交于 2021-01-29 15:22:33
问题 I use two mat-dialog components in my application, and both have custom styles for cdk-global-overlay-wrapper. The problem here is, even after the first dialog is closed, its CSS still remains in scope, i.e., within the DOM. Hence, the style for cdk-global-overlay-wrapper from the second dialog gets overridden by the first one. Please suggest a possible solution. component1.css ::ng-deep .cdk-global-overlay-wrapper { pointer-events: none !important; } component2.css ::ng-deep .cdk-global