₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,119 members, 8,420,458 topics. Date: Thursday, 04 June 2026 at 08:17 PM

Toggle theme

Davidcorny's Posts

Nairaland ForumDavidcorny's ProfileDavidcorny's Posts

1 2 3 4 5 6 (of 6 pages)

ProgrammingRe: I Need Help With This Css Issue by Davidcorny(op): 5:44pm On Feb 02, 2023
GREATIGBOMAN:
what element are u trying to hide in this image and what screen size are u trying to hide it
I'm trying to switch the image nested in the picture tag between desktop and mobile as the screen increases above 800px or 50em.
ProgrammingRe: I Need Help With This Css Issue by Davidcorny(op): 5:08pm On Feb 02, 2023
GREATIGBOMAN:
Check the previous post

Also it's better u post screenshots of your code.
The CSS is too long to wrap in my snipping tool but here's the html, you can see I'm using a picture element to substitute images with a width above 800px, this however does not work. I may just cancel everything and use a background-image property instead, then hide the mobile image if I can't find a solution.

ProgrammingRe: I Need Help With This Css Issue by Davidcorny(op): 4:53pm On Feb 02, 2023
GREATIGBOMAN:
Who insulted u in Stackoverflow?
It really doesn't matter, I'll prefer to have answers even if I'm insulted so I understand than no answers at all.
Nairaland GeneralRe: Don’t Do These Again Once You Reach Age 30 by Davidcorny: 4:42pm On Feb 02, 2023
Books are a very good source of information, most people don't read.
ProgrammingI Need Help With This Css Issue by Davidcorny(op):
Hey guys, I was building a project from frontend mentor and this required using a media query for the desktop layout(built it mobile-first), the problem i have is that it has refused to change or respond to a media query of:

@media (min-width: 50em) {}

I mean literally nothing changed, the only clue i have from trying to debug this is that the media query responded a bit when i changed the main css with(article.card-body) to have a property of min-width.

This is an example of the code https://codepen.io/david4bay/pen/MWBzdyQ

I am using SASS(scss syntax).

I've tried stackoverflow but all i got was insults and no answers.
ProgrammingRe: Earning Big As A Developer Especially A Php Developer In Nigeria by Davidcorny: 3:37am On Jan 25, 2023
ProgrammingRe: PHP Is Giving Me Problem?? by Davidcorny: 1:34am On Jan 24, 2023
truthCoder:
There are two types of learning.

The ‘How’ and the ‘Why’.

Many people want to learn how things are done. It is a short term form of learning and works only in an exam environment.

You should learn Why something is being done. When you know the why, your brain automatically starts to understand the logic.

Lecturers who know why dont need notes. Ordinary typographical errors can scatter the life of a how learner.
If nairaland offered an award you'd get it bro.
EducationRe: 300-Level FUTA Student Commits Suicide In Ondo (Photo) by Davidcorny: 4:08pm On Jan 22, 2023
RIP young man, the person smiling all the time may be dead inside, fighting inner battles.
RomanceRe: If You Want To Spoil/ruined Someone Life What Advice Do You Give Them by Davidcorny: 8:39am On Jan 22, 2023
Say YOLO to welcome and try as much things as possible. That's a sure path to destruction.
ProgrammingRe: CSS Challenge: Post Any UI And I'll Replicate It In 30 Minutes. by Davidcorny: 2:52am On Jan 22, 2023
Devdevdev:
This is more of Photoshop than CSS. There isn't any background on the shirt. Even if I was to use a high z-index and do all the positioning tricks, I can't replicate this without some form of photo editing.
Technically you can.

You can put the image as a background image with the url pointing to it then use a transform translate to position it outside the div.

could use gap property if you aren't well versed in justify-items/justify-content.

You can do it in several ways, make a grid container for the main card, place it at center with place-items: center, create two columns with grid, the left section should have 3 divs, h3 tag for product title, p tag for description and a button for the button, all spaced with justify items space around, which means the 3 divs needs to be in a parent div, then the clothe div on the right you can just use background image and give it a max with and max height while using transforms to stick it where you want it to, could also use position absolute for it while the parent div is relative then set a z-index in case the borders cut off.
ProgrammingRe: Yes, We Nigerians Can Develop Cool Apps Too!!! by Davidcorny: 2:44am On Jan 19, 2023
Great job, don't mind the posters who can only critique but can show nothing they've done.
Nairaland GeneralRe: Have You Ever Been Threatened Before? Share Your Experiences by Davidcorny: 10:53pm On Jan 18, 2023
Yeah, a lot of times in uni. First time I got threatened by someone who owed me money and refused to pay, met him in a lodge beside mine where cultists were and he started shouting if I don't leave him he'll call his friends for me.
Little did he know I've known those guys since me 200 level days and I was even dating the junior sister of one plus I dey give them small money anytime I go see my babe.
I shout for the guy say him dey craze, say make him call them, he called them, they saw me just smiled and asked me why I dey argue with the guy, after I explained to them they seized his bike and said he must pay, he payed half, I gave the boys small something and funny enough this nigga still refused to pay complete.
He came to my lodge to see a friend and I met him and told him he must pay, nigga called another cultist friend and this one was the one who I was dating his junior sis, immediately he saw me him just smile, we shook hand and he said that guy has told him someone was threatening him over money he owed.
Instead make this guy keep quiet cause one of them na officer wey be cultist, him start to talk say even with everything him no go pay me.
Wham, officer give am hot slap, oya make we climb bike go your lodge you must drop that money.
Nigga with tears in his eyes call 2 bike wey we use go him place, him pay me in full, I give officer close to half and officer still collect extra money from the boy hand.

Next one was when I went back to school for something after I graduated, na so I hear say cultist dey disturb the boy behind my room, he'd come to pick any clothes he likes and goes, na so my friend junior bro tell me we gats warn the guy claiming cultist from disturbing that boy, we did and it stopped then warned the boy to stop flashing iphone and his gadgets.

Another was when I was in 300 level, this guy came and told me I offended his don and I need drop something, I laugh and told the fool to get out, as he went, my neighbors were afraid and begged me to not do such(na JJC them be), I just called the fool give am #200.

I knew who sent the guy though, he was too afraid to show his face so he sent one of his recruit who's desperate to impress someone.

Either way though knowing cultists doesn't mean you're safe, I've almost been killed twice due to knowing, associating and talking to them, my ex gf neighbor was burnt alive self, RIP to him, he was a church boy who opened his mouth to the wrong person.

1 2 3 4 5 6 (of 6 pages)