1
muqsit
4y

I want some help with media queries I am new and learning so please don't bash me up :

Here is my css code I want to know how to solve the issue :

/* About Section */

.about
{
height:600px;
padding:50px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}

.abouttext
{
 position: relative;
 padding: 0 50px;
 height: inherit;
}

.abouttext h1
{
position: relative;
left: 230px;
}

.abouttext img{
width:20vw;
position: absolute;
top:50px;
}

.aboutlist
{
width:50%;
}

ol
{
list-style: none;
color: #e0501b;
}

ol li
{
font-size: 34px;
position: relative;
margin-bottom: 20px;
}

li p
{
font-size:16px;
color:#000;
padding-left:60px;
line-height:30px;
opacity:0.6;
}

li span
{
float: right;
  position: absolute;
 line-height: 25px;
 font-weight: 600;
}

Comments
  • 5
    1) Learn how to ask a question. What did you want to achieve? What did you observe instead? "the issue" is not a description at all.

    2) Drop font sizes in px. Just don't do that shit.

    3) Stop plenking. The space in the screenshot between "Home" and the question mark sucks.

    4) Do your basic research using fucking Google like everyone else. Typing 'CSS media queries' into Google isn't hard, you're just lazy.

    5) No hashtags on devRant, this isn't Shitter.
  • 2
    #define issue
  • 0
    I want to use media queries but new to it
  • 0
    @muqsit Then fucking google 'CSS media queries'. The first two search results already explain what that is and how you use them.
Add Comment