skip to Main Content

Html – How to target image props in css

Assume that This is my parent (Cards) component - import React from 'react' import './Cards.css'; import Mycard from './Cardshown'; import image1 from '../../Images/project.png'; import image2 from '../../Images/robot.png'; const Cards = () => { return ( <div className="img-section"> <Mycard img={image1} name={"Hello"}…

VIEW QUESTION

Html – Doesn't apply media for ".nav__btn" class

please explain this problem; I wanna ".nav__btn" class display's be none where min-width: 768px; but it doesn't work --------------------Media Code------------------------ @media (min-width: 768px) { .nav__btn { display: none; } } -------------------------Styles Code----------------------- .nav__btn { width: 5.5rem; height: 5.5rem; display: flex;…

VIEW QUESTION
Back To Top
Search