Show top half of img without reserving layout space for full image

2021.09.21 01:58 larryaz Show top half of img without reserving layout space for full image

CSS definitely not my forte, but I am about 80% to a solution and hoping someone can nudge me the rest of the way...
I have a series of images that I need to display in a vertical list on the website. Each image consists of two smaller images stacked on top of each other (so two 640x480 images stacked resulting in an image 640 wide by 960 high). I only want to show the top image in a list and show the full image when the user selects it.
I am using a CSS style with "clip-path: inset(0px 0px 50% 0px)" which correctly crops the source image to only show the top half. However, my problem is the list of 'top half' images uses the layout space for the full height image, which takes up twice the space needed, requires twice as much scrolling through the list, and just looks bad with the blank space.
I don't want to crop the image on the server for a variety of reasons. I also wanted to avoid specifying specific pixel height/width of the images so that the site would scale on different size screens (although I'm at the point where I am more than willing to give up on that notion). I'm ok with using some JS if needed but obviously hoping for a pure CSS solution, as I am assuming there is probably something simple I haven't figured out yet.
submitted by larryaz to csshelp [link] [comments]


2021.09.21 01:58 LuizAlbertoSoares Do NOT Rent Cards to Climb Leagues and Open your Daily Rewards!

Do NOT Rent Cards to Climb Leagues and Open your Daily Rewards! submitted by LuizAlbertoSoares to Splinterlands [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [National] - FBI ends search of Laundrie home in Gabby Petito case | NY Post

[National] - FBI ends search of Laundrie home in Gabby Petito case | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [NZ] - Covid 19 Delta outbreak: Whakarewarewa Village Rotorua reject planned MIQ | NZ Herald

[NZ] - Covid 19 Delta outbreak: Whakarewarewa Village Rotorua reject planned MIQ | NZ Herald submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 Ok_Knowledge_8679 Love the support he gives to the show and the other dancers.

submitted by Ok_Knowledge_8679 to dancingwiththestars [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [National] - Could Brian Laundrie’s parents be charged in Gabby Petito case? | NY Post

[National] - Could Brian Laundrie’s parents be charged in Gabby Petito case? | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 Chijersey In college can you use calculators on mathematics exams?

submitted by Chijersey to college [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [NZ] - Covid 19 coronavirus Delta outbreak: Auckland MIQ escapee arrested again for allegedly drink driving, fleeing police during L4 lockdown | NZ Herald

[NZ] - Covid 19 coronavirus Delta outbreak: Auckland MIQ escapee arrested again for allegedly drink driving, fleeing police during L4 lockdown | NZ Herald submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [World] - Texas doctor sued after saying he defied state's near-total abortion ban | NZ Herald

[World] - Texas doctor sued after saying he defied state's near-total abortion ban | NZ Herald submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 Pilot-B September 20, 2021 VA Coronavirus Stats

September 20, 2021 VA Coronavirus Stats Data is from the VDH Public Website.
  • Virginia reported 2377 new cases across the state
Stay safe out there everyone.
Notes:
VDH testing stats may not be refreshed daily.
Links:
https://www.vdh.virginia.gov/coronavirus/covid-19-in-virginia/
https://preview.redd.it/83cszm6lxqo71.png?width=1530&format=png&auto=webp&s=e2a4f2e5dc0b4e15f08ffd80f5b1682f0dcad01b
Are we really leveling off?
https://preview.redd.it/zxtakm6lxqo71.png?width=1960&format=png&auto=webp&s=bc69a8ab0f63752be92a4b6fec8ab212c3ad14fa
https://preview.redd.it/ufxwlo6lxqo71.png?width=982&format=png&auto=webp&s=4b7af0af6e02df63ae22ff071147e45c87ad79d4
submitted by Pilot-B to coronavirusVA [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [Business] - Carlyle Hotel’s revamped restaurant will delight with Bemelmans’ Madeline murals | NY Post

[Business] - Carlyle Hotel’s revamped restaurant will delight with Bemelmans’ Madeline murals | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 weiss27md New tires plus just went tubeless

New tires plus just went tubeless submitted by weiss27md to fatbike [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [World] - Government resumes prosecution in deadly 'swatting' case | NZ Herald

[World] - Government resumes prosecution in deadly 'swatting' case | NZ Herald submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 bongwaterbb What do you guys use to cope?

Does anyone have any tips or methods they recommend to help with cravings?
submitted by bongwaterbb to leaves [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [Op-Ed] - Prepare for NYC’s vax mandate to create more explosive racial tensions | NY Post

[Op-Ed] - Prepare for NYC’s vax mandate to create more explosive racial tensions | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [NZ] - Covid-19 Delta outbreak: Climate Change Minister James Shaw taking 14 staff to Glasgow, Scotland for COP26 talks | NZ Herald

[NZ] - Covid-19 Delta outbreak: Climate Change Minister James Shaw taking 14 staff to Glasgow, Scotland for COP26 talks | NZ Herald submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 Man-akle Cringy copes you have?

submitted by Man-akle to NoRules [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [Op-Ed] - De Blasio’s ‘reforms’ are why Rikers has become even more hellish | NY Post

[Op-Ed] - De Blasio’s ‘reforms’ are why Rikers has become even more hellish | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 epicpandemic916 Rocklin cop points gun at surrendering young man then tries to break his arm.

Rocklin cop points gun at surrendering young man then tries to break his arm. submitted by epicpandemic916 to Sacramento [link] [comments]


2021.09.21 01:58 AutoNewspaperAdmin [Local] - Citi Bike explodes on subway tracks after being hit by oncoming train | NY Post

[Local] - Citi Bike explodes on subway tracks after being hit by oncoming train | NY Post submitted by AutoNewspaperAdmin to AutoNewspaper [link] [comments]


2021.09.21 01:58 PepeReeeeeeMemeOnMAX I need help

Pilots of battlefield I’m having trouble getting kills when in planes. I’ve tried countless times and still can’t get any kills. Anything will help.
submitted by PepeReeeeeeMemeOnMAX to PilotsofBattlefield [link] [comments]


2021.09.21 01:58 ErilTheBarrel Any good looking Battle Mage armor for males?

Basically the title. Looking for something similar to Battle Mage Armour by Elianora and Hedge Mage by Elleh (sorry for no link I'm on my phone) but those are females only.
submitted by ErilTheBarrel to skyrimmods [link] [comments]


2021.09.21 01:58 toptoyouyoutube Britney Spears returns to Instagram after hiatus | Fox News

Britney Spears returns to Instagram after hiatus | Fox News submitted by toptoyouyoutube to healthnow [link] [comments]


2021.09.21 01:58 mondberry Streak 236: Melone

Als ich ein Kind war, war ich ein großer Fan von allen Sorten Melonen - Wassermelone, Cantaloupe, Honigmelone, ganz egal. Ich aß sie immer mit einem großzügigen Klecks Schlagsahne und dann ein bisschen Salz darauf gestreut. Das könnte ein bisschen seltsam vorkommen, aber ich schwöre, es schmeckt abartig gut.
Für Honigmelone habe ich insbesondere ein Faible. Kindheitserinnerungen sind ja mächtig: Nachdem meine Oma und ich zur Kirche gegangen sind, sind wir immer zum Essen gegangen. Unser Lieblingsrestaurant hat ein tolles Buffet, das fast jedes vorstellbares Obst anbot. Dort habe ich zum ersten Mal, und jeden Sonntag danach, Honigmelone gegessen. Ich hätte die ganze Schale für mich nehmen können, wenn ich gedurft hätte. Bis heute gelingt es mir nicht, den wunderschönen Grünton hinwegzukommen. Sie ist fast zu schön zu essen!
Jedenfalls ziehe ich heutzutage Beere vor, daher der Username, aber bei heißen Sommertagen geht nichts über eine saftige eiskalte Melone. Ich sabbere gerade ein bisschen. Ich sollte mir eine Honigmelone besorgen, ehe es zu kühl ist, sie richtig zu genießen.
submitted by mondberry to WriteStreakGerman [link] [comments]


2021.09.21 01:58 toptoyouyoutube Biden supports 'thorough investigation' into botched Afghan drone strike | Fox News

Biden supports 'thorough investigation' into botched Afghan drone strike | Fox News submitted by toptoyouyoutube to healthnow [link] [comments]


http://vozrogdenie61.ru