12 questions from the last 1 days
0
votes
0
answers
28
views
Focus border on grid cell with overflow: hidden
I'm trying to draw a focus border on a grid cell.
First, I tried outline with offset. Almost perfect, but left and top borders aren't covered.
Then I tried with box shadows (also with inset). Here I ...
0
votes
0
answers
15
views
CSS Flexbox Issue
I have a container with multiple items displayed using CSS Flexbox, with flex-wrap: wrap and justify-content: center so that the items are visually centered and wrap responsively. Each item has a ...
-4
votes
1
answer
57
views
Full screen cover does not work for a react video player component
<ReactPlayer
key={1}
style={{
objectFit: "cover",
overflow: "hidden",
}}
width={window.innerWidth}
height={window.innerHeight}
src={"https://vimeo.com/...
-3
votes
0
answers
83
views
How to remove unused JavaScript and CSS files from my website? [closed]
I’m trying to improve my website performance and Google PageSpeed Insights shows that many JavaScript and CSS files are unused or partially unused.
I want to remove or disable these unnecessary files, ...
-1
votes
2
answers
72
views
How to get 100 small viewport height in Javascript?
I have an asset that has to be statically sized based on viewport height. The problem is that for some mobile browsers when the navigation bar hides, the asset changes size, because the height of the ...
1
vote
0
answers
42
views
Css Bem naming blocks in different sections
I'm trying to implement BEM, but I have a review block that appears in both the top-review-section and the product-review-section. My approach is to use a Modifier for context-specific styling, but my ...