I am working on a project in which all of my css code is based on the simple divs and and html elements and all the values assigned as pixel based now i want to make my project responsive and i have no idea what i do to make it for mobile responsive can anyone help me please.
Here is my whole jsx and css file code.
import React from 'react';
import Rect3 from '../assets/Rectangle 3.png';
import Rect1 from '../assets/Rectangle 1.png';
import Group from '../assets/Group.png';
import Ellipse from '../assets/Ellipse 4.png';
import Rect72 from '../assets/Rectangle 72.png';
import Rect73 from '../assets/Rectangle 73.png';
import Ellipse1 from '../assets/Ellipse 5.png';
import Group1 from '../assets/Group1.png';
import Rect74 from '../assets/Rectangle 74.png';
import Rect75 from '../assets/Rectangle 75.png';
import Ellipse2 from '../assets/Ellipse 6.png';
import Group3 from '../assets/Group3.png';
import Rect76 from '../assets/Rectangle 76.png';
import Rect77 from '../assets/Rectangle 77.png';
import Ellipse3 from '../assets/Ellipse 7.png';
import Group2 from '../assets/Group 2.png';
import Rect71 from '../assets/Rectangle 71.png';
import Rect80 from '../assets/Rectangle 80.png';
import Group229 from '../assets/Group 229.png';
import Ellipse8 from '../assets/Ellipse 8.png';
import Ellipse9 from '../assets/Ellipse 9.png';
import './AdminPage.css';
const AdminPage = () => {
return (
<div className="main_div">
<div className='navbar'>
<img src={Rect3} alt="NavigationBar" className='navbaradmin'/>
<p className='Adminpara'>Admin Dashboard</p>
</div>
<div className='AddProject'>
<img className='addprojects' src={Rect1} alt="Addprojects"/>
<p className='AdminDpara'>Dashboard</p>
</div>
<div className='ProjectsDetials'>
<div className='NewProjectContainer'>
<img src={Ellipse} alt="Elipse Background" className='ellipse'/>
<img className='inbox' src={Group} alt="Inbox Pic"/>
<p className='Infopara'>New Project <br/>(10)</p>
<img src={Rect72} alt="fullline" className='fulline' />
<img src={Rect73} alt='halfline' className='halfline' />
</div>
<div className='NewProjectContainer1'>
<img src={Ellipse1} alt="Elipse Background" className='ellipse1'/>
<img className='cart' src={Group1} alt="Inbox Pic"/>
<p className='Infopara1'>Pending Projects <br/>(05)</p>
<img src={Rect74} alt="fullline" className='fulline1' />
<img src={Rect75} alt='halfline' className='halfline1' />
</div>
<div className='NewProjectContainer2'>
<img src={Ellipse2} alt="Elipse Background" className='ellipse2'/>
<img className='cost' src={Group3} alt="Inbox Pic"/>
<p className='Infopara'>Cost <br/>($52,567,56)</p>
<img src={Rect76} alt="fullline" className='fulline2' />
<img src={Rect77} alt='halfline' className='halfline2' />
</div>
<div className='NewProjectContainer3'>
<img src={Ellipse3} alt="Elipse Background" className='ellipse3'/>
<img className='uprofile' src={Group2} alt="Inbox Pic"/>
<p className='Infopara'>Mew Customers<br/>(500)</p>
<img src={Rect74} alt="fullline" className='fulline' />
<img src={Rect75} alt='halfline' className='halfline' />
</div>
</div>
<div className="TopProjectsDetails">
<p className="pDpara">Top Projects</p>
<div className="Pheadings">
<p className='pheadval1'>Projects</p>
<p className='pheadval2'>Sales</p>
<p className='pheadval3'>Earning</p>
<p className='pheadval4'>Left Area</p>
</div>
<div className='value1'>
<img src={Rect71} alt="SAK TOWER Pic" className="elempic"/>
<p className="eval1">SAK TOWER</p>
<p className="eval2">81</p>
<p className="eval3">$1,912.00</p>
<p className="eval4">(439,553 sq. ft.)</p>
</div>
<div className='value2'>
<img src={Rect80} alt="Element Residencia Pic" className="elempic1"/>
<p className="eval5">KHARIAN</p>
<p className="eval6">81</p>
<p className="eval7">$1,912.00</p>
<p className="eval8">(439,553 sq. ft.)</p>
</div>
</div>
<div className="Messages">
<p className="RMessages">Recent Messages</p>
<p className="Runread">3 Unread Messages</p>
<img src={Group229} alt="Reload Icon" className="reloadicon"/>
</div>
<div className='msg1'>
<img src={Ellipse8} alt='recentmsg1' className='Rmpic1'/>
<span className='Rmpara1'>James Anderson</span>
<p className='Rmpara2'>Simply dummy text of the printing and type setting industry</p>
<span className='Rmjust'>Just Now</span>
<p className='Rmdate'>April 14 ,2020</p>
</div>
<div className='msg2'>
<img src={Ellipse9} alt='recentmsg1' className='Rmpic2'/>
<span className='Rmpara3'>James Anderson</span>
<p className='Rmpara4'>Simply dummy text of the printing and type setting industry</p>
<span className='Rmjust'>Just Now</span>
<p className='Rmdate'>April 14 ,2020</p>
</div>
<span className='allMsgs'>All Messages</span>
</div>
)
}
export default AdminPage;
CSS Code
.navbaradmin{
position: absolute;
left: 328px;
top: 30px;
width: 921px;
height: 60px;
}
.Adminpara{
position: absolute;
width: 171px;
height: 24px;
left: 330px;
top: 50px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 24px;
color: #FFFFFF;
}
.AddProject{
position: absolute;
top:90px;
left: 50px;
width: 50px;
height: 40px;
}
.addprojects{
position: absolute;
left: 285px;
right: 58px;
top: 7px;
bottom: 91.59%;
}
.AdminDpara{
position: absolute;
top: 6px;
left: 331px;
color: black;
width: 90px;
height: 20px;
font-weight: 700;
background: #FFFFFF;
}
.ProjectsDetials{
position: absolute;
width: 895px;
height: 204px;
top: 160px;
left: 339px;
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
}
.NewProjectContainer{
position: absolute;
top: 20px;
left: 10px;
width: 190px;
height: 150px;
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 6px;
}
.ellipse{
position: absolute;
width: 40px;
height: 40px;
top:20px;
left: 40px;
}
.inbox{
position: absolute;
top: 25px;
left: 45px;
}
.Infopara{
position: absolute;
top:65px;
left: 30px;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 17px;
color: #A5A5A5;
}
.fulline{
position: absolute;
top: 110px;
left:5px;
}
.halfline{
position: absolute;
top: 110px;
left:5px;
}
.NewProjectContainer1{
position: absolute;
top: 20px;
left: 237px;
width: 190px;
height: 150px;
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
border-radius: 6px;
}
.ellipse1{
position: absolute;
width: 40px;
height: 40px;
top:20px;
left: 40px;
}
.cart{
position: absolute;
top: 25px;
left: 45px;
}
.Infopara1{
position: absolute;
top:65px;
left: 30px;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 17px;
color: #A5A5A5;
}
.fulline1{
position: absolute;
top: 110px;
left:5px;
}
.halfline1{
position: absolute;
top: 110px;
left:5px;
}
.NewProjectContainer2{
position: absolute;
top: 20px;
left: 464px;
width: 190px;
height: 150px;
background-color: rgb(176, 180, 176);
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
border-radius: 6px;
}
.ellipse2{
position: absolute;
width: 40px;
height: 40px;
top:20px;
left: 40px;
}
.cost{
position: absolute;
top: 25px;
left: 45px;
}
.Infopara2{
position: absolute;
top:50px;
left: 30px;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 17px;
color: #A5A5A5;
}
.fulline2{
position: absolute;
top: 110px;
left:5px;
}
.halfline2{
position: absolute;
top: 110px;
left:5px;
}
.NewProjectContainer3{
position: absolute;
top: 20px;
left: 689px;
width: 190px;
height: 150px;
background-color: rgb(176, 180, 176);
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
border-radius: 6px;
}
.ellipse3{
position: absolute;
width: 40px;
height: 40px;
top:20px;
left: 40px;
}
.uprofile{
position: absolute;
top: 20px;
left: 41px;
}
.Infopara3{
position: absolute;
top:50px;
left: 30px;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 17px;
color: #A5A5A5;
}
.fulline3{
position: absolute;
top: 110px;
left:5px;
}
.halfline3{
position: absolute;
top: 110px;
left:5px;
}
.TopProjectsDetails{
box-sizing: border-box;
position: absolute;
width: 530px;
height: 500px;
left: 341px;
top: 388px;
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}
.pDpara{
position: absolute;
width: 77px;
height: 21px;
left: 224px;
top: 5px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #000000;
font-weight: 700;
}
.Pheadings{
box-sizing: border-box;
position: absolute;
width: 531px;
height: 51px;
left: -1px;
top: 45px;
background: #FFFFFF;
border: 1px solid #EFEDED;
}
.pheadval1{
position: absolute;
width: 48px;
height: 21px;
left: 40px;
top: -2px;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #5F5E5E;
}
.pheadval2{
position: absolute;
width: 48px;
height: 21px;
left: 190px;
top: -2px;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #5F5E5E;
}
.pheadval3{
position: absolute;
width: 48px;
height: 21px;
left: 300px;
top: -2px;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #5F5E5E;
}
.pheadval4{
position: absolute;
width: 90px;
height: 21px;
left: 430px;
top: -2px;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #5F5E5E;
}
.Pheadings{
box-sizing: border-box;
position: absolute;
width: 531px;
height: 51px;
left: -1px;
top: 45px;
background: #FFFFFF;
border: 1px solid #EFEDED;
}
.value1{
box-sizing: border-box;
position: absolute;
width: 531px;
height: 51px;
left: -1px;
top: 120px;
background: #FFFFFF;
border: 1px solid #EFEDED;
}
.elempic{
position: absolute;
top: 5px;
left: 5px;
}
.eval1{
position: absolute;
width: 94px;
height: 15px;
left: 44px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval2{
position: absolute;
width: 94px;
height: 15px;
left: 157px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval3{
position: absolute;
width: 94px;
height: 15px;
left: 275px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval4{
position: absolute;
width: 94px;
height: 15px;
left: 413px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.value2{
box-sizing: border-box;
position: absolute;
width: 531px;
height: 51px;
left: -1px;
top: 188px;
background: #FFFFFF;
border: 1px solid #EFEDED;
}
.elempic1{
position: absolute;
top: 5px;
left: 5px;
}
.eval5{
position: absolute;
width: 94px;
height: 15px;
left: 44px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval6{
position: absolute;
width: 94px;
height: 15px;
left: 157px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval7{
position: absolute;
width: 94px;
height: 15px;
left: 275px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.eval8{
position: absolute;
width: 94px;
height: 15px;
left: 413px;
top: 4px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 15px;
color: #828080;
}
.Messages{
box-sizing: border-box;
position: absolute;
width: 341px;
height: 500px;
left: 897px;
top: 387px;
background: #FFFFFF;
border: 1px solid #EFEDED;
box-shadow: 0px 0px 4px rgb(0 0 0 / 25%);
}
.RMessages{
position: absolute;
width: 112px;
height: 21px;
left: 12px;
top: 2px;
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #000000;
}
.Runread{
position: absolute;
width: 152px;
height: 21px;
left: 12px;
top: 8px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #BABABA;
}
.reloadicon{
position: absolute;
left: 300px;
top: 10px;
}
.msg1{
box-sizing: border-box;
position: absolute;
width: 335px;
height: 100px;
left: 900px;
top: 474px;
background: #FFFFFF;
border-width: 1px 0px;
border-style: solid;
border-color: #EFEDED;
}
.Rmpic1{
position: absolute;
width: 50px;
height: 50px;
left: 8px;
top: 23px;
}
.Rmpara1{
position: absolute;
width: 113px;
height: 21px;
left: 71px;
top: 0px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #24A5AB;
}
.Rmpara2{
position: absolute;
width: 259px;
height: 28px;
left: 69px;
top: 22px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 14px;
display: flex;
align-items: center;
color: #000000;
}
.Rmjust{
position: absolute;
width: 54px;
height: 21px;
left: 14px;
top: 73px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 21px;
display: flex;
align-items: center;
color: #6ADADF;
}
.Rmdate{
position: absolute;
width: 78px;
height: 21px;
left: 245px;
top: 60px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 21px;
display: flex;
align-items: center;
color: #6ADADF;
}
.msg2{
box-sizing: border-box;
position: absolute;
width: 335px;
height: 100px;
left: 900px;
top: 581px;
background: #FFFFFF;
border-width: 1px 0px;
border-style: solid;
border-color: #EFEDED;
}
.Rmpic2{
position: absolute;
width: 50px;
height: 50px;
left: 8px;
top: 23px;
}
.Rmpara3{
position: absolute;
width: 113px;
height: 21px;
left: 71px;
top: 0px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #24A5AB;
}
.Rmpara4{
position: absolute;
width: 259px;
height: 28px;
left: 69px;
top: 22px;
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-size: 12px;
line-height: 14px;
display: flex;
align-items: center;
color: #000000;
}
.allMsgs{
position: absolute;
width: 89px;
height: 21px;
left: 1030px;
top: 852px;
font-family: 'Inter';
font-style: normal;
font-weight: 5;
font-size: 14px;
line-height: 21px;
display: flex;
align-items: center;
color: #2432AB;
}
I want my whole code into responsiveness.