#Hey there!
31 messages · Page 1 of 1 (latest)
send code
How do I arrange it into row
just don't add flex-direction:column;
You're not getting my point , I want to say how do I make these cards in front of each other .... Try it by yourself
wdym in front of each other lol
if you wanna have them NEXT to each other just add display: flex; to the parent containing all the cards???
Buddy , I've tried this but it isn't working....
then you are doing it wrong
you may try it first !
I have already done it
Share snapshot of that code with me
just add a class to the div wrapping all your items and style it with display: flex;
check it
I just tried that but it won't work ... You'd check out my link and make it clear and then share with me ... If you've time
I am making it clear with you and I have already fixed it myself
more clear than this it's impossible
Share that code with me
💀💀
App:
import React from "react"
import Card from "./Card"
import dataBase from "./dataBase"
export default function App(){
const bags = dataBase.map(item => {
return(
<Card
{...item}
key= {item.id}
/>
)
})
return (
<div className="parent">
{bags}
</div>
)
}
I've got you but its not working
.bags {
display: flex;
font-size: 12px;
flex-direction: column;
width: 33%;
}
.parent{
display: flex;
}
css
if you had this it would be working
Ok now I'd get it ...Thans for your precious time