Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add : first five section #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add : first five section #1

wants to merge 1 commit into from

Conversation

sandesh9988
Copy link
Collaborator

No description provided.

</header>
<main>
<div class="container">
<img class="container_img" src="images/man.png" alt="person image">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 Should this image tag be within a figure tag?

<div class="container">
<img class="container_img" src="images/man.png" alt="person image">
<!--<button class="container_playbtn"></button> -->
<img class="container_playbtn" src="images/play.png" alt="play button">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988
If this is a play button, why do we need an image? Can we construct this with CSS? What about using SVG?
Also think about hover effects.

<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore <br>magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd <br>gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing<br> elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore</p>
</div>
<div class="box">
<div class="boxleft">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988

box bhitra boxleft and boxright rakhney ki box__left?

<div class="box">
<div class="boxleft">
<h3>Our mission</h3>
<p class="box_desc1">Lorem ipsum dolor sit amet consectetur adipisicing <br>elit. Consectetur, delectus. Vitae odit commodi <br>reiciendis mollitia ratione nostrum repellendus <br>dignissimos, rem id. Officiis harum iste quibusdam !</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988

WYSIWYG bhitra aaune content haru, jastai ki paragraph, list, and so on ma class use garnu hudaina, kina ki these type of content is auto-generated from backend.

Class add bhayera aaudaina.

  • Class names haru "box_button1" is the wrong way. Should be just button.

Ekchoti feri BEM hera.

color: black;
text-decoration: none;
position: relative;
left: 320px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 Is there a better way to style this without defining left:320px?

position: relative;
display: flex;
color: white;
background-color: #F0564B;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988

Don't define the colors explicitly. You should name them in config file and use variables instead.

}
.second_button{
position: relative;
display: flex;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 If you've declared flex, declare the flex-wrap too. This helps in cross-browser support.


position: absolute;
font-family: "Inter";
margin-top: 180px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 Again, margin-top: 180px, right: 300px bhanda pani yeslai flex, margin auto or aru kunai tarika le align garna try gara. Yetro dherai units px ma lekhyo bhaney responsive garna ekdum garo hunchha.

display: flex;
color: black;
background-color: white;
border-color: #F0564B;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 again, color should not be defined explicitly.

box-sizing: border-box ;
}
.container{
position: relative;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sandesh9988 Style.scss khali chodnu parcha.
Create files for everything you want to write ani tesma lekha. Style.scss ma sake samma kei nalekha.

Example: https://github.com/bishaller/jug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants