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

Fade two areas next to each other #57

Open
Messa1 opened this issue May 8, 2015 · 0 comments
Open

Fade two areas next to each other #57

Messa1 opened this issue May 8, 2015 · 0 comments

Comments

@Messa1
Copy link

Messa1 commented May 8, 2015

I have tried to define two areas that change when scrolling. In addition I have redesigned the fade example and tries to enclose individually with an additional <section class = "container"> both areas.

Here's an example of what I want to do:

<section class="container col span_2_of_3">
<section class="panel">
<b>ONE-left</b>
</section>
</section>

<section class="container col span_1_of_3">
<section class="panel">
<b>ONE-right</b>
</section>
</section>

CSS:

.col {
     display: block;
     float: left;
     margin: 1% 0 1% 1.6%;
}
.span_2_of_3 {
    width: 66.1%;
}
.span_1_of_3 {
    width: 32.2%;
}
.panel {
         height: 100%;
          width: 100%;
}
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

No branches or pull requests

1 participant