Split layout for HTML screen, content below not visible - html

I am trying to create a Split Layout using https://tympanus.net/codrops/2013/10/25/split-layout/
However, I am unable to see the contents below the split view. I am able to scroll but cannot see contents of element id "services". I am not posting the CSS in order to avoid making it readable. The CSS can be found on the link above. Thank you.
<div id="splitlayout" class="splitlayout">
<div class="intro">
<div class="side side-left">
<header class="codropsheader clearfix">
<span>Blueprint <span class="bp-icon bp-icon-about" data-content="The Blueprints are a collection of basic and minimal website concepts, components, plugins and layouts with minimal style for easy adaption and usage, or simply for inspiration."></span></span>
<h1>Split Layout</h1>
<nav>
<span>Previous Blueprint</span>
<!--a href="" class="bp-icon bp-icon-next" data-info="next Blueprint"><span>Next Blueprint</span></a-->
<span>back to the Codrops article</span>
<span>Go to the archive</span>
</nav>
<div class="demos">
<a class="current" href="index.html">Effect 1</a>
Effect 2
</div>
</header>
<div class="intro-content">
<div class="image-container">
<img class="img-fluid" src ={% static "images/teacher-4.png" %} alt="alternative">
</div>
<h1><span>Toby Blue </span><span>Web Designer</span></h1>
</div>
<div class="overlay"></div>
</div>
<div class="side side-right">
<div class="intro-content">
<div class="image-container">
<img class="img-fluid" src ={% static "images/student-2.png" %} alt="alternative">
</div>
<h1><span>Amy White </span><span>Web Developer</span></h1>
</div>
<div class="overlay"></div>
</div>
</div><!-- /intro -->
<div class="page page-right">
<div class="page-inner">
<section>
</section>
<section>
</section>
<section>
</section>
<section>
</section>
<section>
</section>
</div><!-- /page-inner -->
</div><!-- /page-right -->
<div class="page page-left">
<div class="page-inner">
<section>
</section>
<section>
</section>
<section>
</section>
<section>
</section>
</div><!-- /page-inner -->
</div><!-- /page-left -->
→
←
</div><!-- /splitlayout -->
<!-- Services -->
<div id="services" class="cards-1">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h2>Create an eQuiz and schedule it in less than 1 minute.</h2>
<p class="p-heading p-large">Now all you need are a few clicks and your students get an eQuiz</p>
</div> <!-- end of col -->
</div> <!-- end of row -->
<div class="row">
<div class="col-lg-12">
<!-- Card -->
<div class="card">
<img class="card-image" src ={% static "images/employee.svg" %} alt="alternative">
<div class="card-body">
<h4 class="card-title">Pick Difficulty & Topic</h4>
<p>The questions and quiz comes with a level of difficulty and spread across all chapters </p>
</div>
</div>
<!-- end of card -->
<!-- Card -->
<div class="card">
<img class="card-image" src ={% static "images/quiz-icon.svg" %} alt="alternative">
<div class="card-body">
<h4 class="card-title">Random Q&A</h4>
<p>Students get random questions and options from our huge pool of questions</p>
</div>
</div>
<!-- end of card -->
<!-- Card -->
<div class="card">
<img class="card-image" src ={% static "images/quiz-2.svg" %} alt="alternative">
<div class="card-body">
<h4 class="card-title">Different Options</h4>
<p> You can test students on MCQ, True/False & Essay Type Questions </p>
</div>
</div>
<!-- end of card -->
</div> <!-- end of col -->
</div> <!-- end of row -->
</div> <!-- end of container -->
</div> <!-- end of cards-1 -->
<!-- end of services -->

Change the position: fixed; on .side to position: absolute;.
.side {
position: absolute;
top: 0;
z-index: 100;
width: 50%;
height: 100%;
text-align: center;
-webkit-backface-visibility: hidden;
}
Check it in action on Codepen: https://codepen.io/manaskhandelwal1/pen/YzpWvaZ

Related

Bootsrap 4 landing page for adding left card and right side overlap image issue

I'm tried to added bootstrap 4 my sample web site landing page (tried to create following image like as) to left card content and right side background , I have some conflict on this, i tried to put it correctly , its not working, anyone know how to do that correctly
example image
Code here:
<!--==========================-->
<!--= Banner =-->
<!--==========================-->
<section class="banner banner-saas-main">
<!-- /.banner-sass-svg-bg -->
<div class="container">
<div class="banner-content-wrapper">
<div class="row ">
<div class="col-lg-6 ">
<div class="card w-100" style="background: #C4FFDC;">
<div class="card-body">
<div class="banner-content ">
<h1 class="banner-title wow fadeInUp p-3 " data-wow-delay="0.3s">
Welcome to the <span>Astriol</span><br>
Help Community
</h1>
</div>
<br>
<div class="p-4">
<p class="text-justify">
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</p>
</div>
</div>
</div>
<!-- /.banner-content-sass -->
</div>
<!-- /.col-lg-6 -->
<div class="col-lg-6">
<div class="saas-animate-image">
<div class="findex">
<div id="svgContainer" class="wow zoom img-fluid">
<img src="assets/img/right-bg.png" style="position: relative; top: -5rem; left: -7rem;">
</div>
</div>
</div>
</div>
<!-- /.col-lg-6 -->
</div>
<!-- /.row -->
</div>
<!-- /.banner-content-wrapper -->
</div>
<!-- /.container -->
</section>
<!-- /.banner banner-main -->
css here
.banner-saas-main {
padding: 170px 0;
overflow: hidden;
}
.banner {
height: 975px;
position: relative;
}
.container {
max-width: 1200px;
}

i want put this info inside div

so what i miss ?i try to solve it but i cant or should i start again?
that is html code and if you want css too i can send it :
<section id="contact" class="section">
<!-- Container Starts -->
<div class="container">
<!-- Start Row -->
<div class="row">
<!-- Start Col -->
<div class="col-lg-6 col-md-12">
<div class="Container">
<div class="contactinfo">
<div>
<h2>Contact Info</h2>
<ul class="info">
<li>
<span><img src="img/contact/Email.png"></span>
<span>colbration#visionviewplus.com</span>
</li>
<li>
<span><img src="img/contact/wechat.png"></span>
<span>wechat ID : 212131321</span>
</li>
<li>
<span><img src="img/contact/qq.png"></span>
<span>QQ ID : 212131321</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
</section>
=============================

Make a boxes that contain text but it only display the text

So i try to make a box , for each data that has in the database (the data already been load in views)
here's the html
<div id="edit" class="tab-pane">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 detailed">
<h4 class="mb">List of Campaign</h4>
{% for table in obj2 %}
<div class="boxes">
{{table}}
</div>
{% endfor %}
</div>
</div>
<!-- /col-lg-8 -->
</div>
<!-- /row -->
</div>
here's the css
.boxes
{
border:10px solid black;
}
but it only display the list of data , without the border , am i wrong about the css? i thought it's already right
Edit :
full html code
<section id="main-content">
<section class="wrapper site-min-height">
<!-- <div class="profile-pic">
<p><img src="img/ui-sam.jpg" class="img-circle"></p>
-->
<!-- <p>
<button class="btn btn-theme"><i class="fa fa-check"></i> Follow</button>
<button class="btn btn-theme02">Add</button>
</p>
<!-- /col-lg-12 -->
<div class="col-lg-12 mt">
<div class="row content-panel">
<!-- /panel-heading -->
<div class="panel-body">
<div class="tab-content">
<div id="overview" class="tab-pane active">
<!-- /tab-pane -->
<div class="row">
<div class="col-lg-8 col-lg-offset-2 detailed">
<h4 class="mb">List of Campaign</h4>
{% for table in obj2 %}
<div class="boxes">
{{table}}
</div>
{% endfor %}
</div>
</div>
<!-- /col-lg-8 -->
</div>
<!-- /row -->
</div>
<!-- /tab-pane -->
</div>
<!-- /tab-content -->
</div>
<!-- /panel-body -->
</div>
<!-- /col-lg-12 -->
</div>
<!-- /row -->
</div>
<!-- /container -->
</section>
<!-- /wrapper -->
</section>
this edit is the full html code
You have to add CSS on td and th Use below CSS
.boxes td, .boxes th{
border: 1px solid #000;
}

Paragraph text using img space

I'm trying to make the whole thing clickable so I wrapped the image and paragraph inside an anchor tag. I gave the anchor tag a padding of 40px around and gave the img tag a right margin of around 30. Both of them have a display property of inline-block. The problem is it doesn't show like the one on the image(attached). How do I fix this? I'm not that good at CSS and HTML yet. Thanks.
<div class="col-md-3">
<img src="_assets_/images/icon-meeting.png" alt="meeting minutes and agendas"><p>Meeting Minutes & Agendas</p>
</div><!-- /.col-md-3 -->
<div class="col-md-3">
<img src="_assets_/images/icon-bills.png" alt="pay bills online"><p>Pay Bills Online</p>
</div><!-- /.col-md-3 -->
<div class="col-md-3">
<img src="_assets_/images/icon-document.png" alt="form & document center"><p>Form & Document Center</p>
</div><!-- /.col-md-3 -->
<div class="col-md-3">
<img src="_assets_/images/icon-questions.png" alt="frequently asked questions"><p>Frequently Asked Questions</p>
</div><!-- /.col-md-3 -->
My CSS is:
#panel p {font-family: 'Raleway', sans-serif;color: #fff;font-size: 18px;display: inline-block;margin: 0}
#panel img {width: 45px;margin-right: 25px;display: inline-block}
#panel a {background-color: #1b4952;display: block;border-radius: 10px;text-decoration: none}
What I want
What I have
I guest you use bootstrap :)
About that you can make it using row. I just simple edit your code check and try it i hope it's help you.
<div class="col-md-3">
<div class="row">
<div class="col-md-6">
<a href="./"><img src="_assets_/images/icon-meeting.png" alt="meeting minutes and agendas">
<div class="col-md-6">
<p>Meeting Minutes & Agendas</p></a>
</div>
</div>
</div>
</div><!-- /.col-md-3 -->
<div class="col-md-3">
<div class="row">
<div class="col-md-6">
<a href="./">
<img src="_assets_/images/icon-bills.png" alt="pay bills online">
<div class="col-md-6">
<p>Pay Bills Online</p></a>
</div>
</div>
</div>
</div>
<!-- /.col-md-3 -->
<div class="col-md-3">
<div class="row">
<div class="col-md-6">
<a href="./">
<img src="_assets_/images/icon-document.png" alt="form & document center">
<div class="col-md-6">
<p>Form & Document Center</p></a>
</div>
</div>
</div>
</div><!-- /.col-md-3 -->
<div class="col-md-3">
<div class="row">
<div class="col-md-6">
<a href="./"><img src="_assets_/images/icon-questions.png" alt="frequently asked questions">
<div class="col-md-6"><p>Frequently Asked Questions</p></a>
</div>
</div>
</div>
</div><!-- /.col-md-3 -->
More informations check this page

Bootstrap rawspan and column span

Can anybody help me with this problem, I am using bootstrap to develop my website and so far I have two row`s.
<section role="main">
<div class="container">
<div class="row no-space"><!-- Row 1 -->
<div class="span3">
<h2>{ logo here }</h2>
<h3>[ logo here ]</h3>
</div>
<div class="span6">
<h2>Text here, text here <em>text here</em>...</h2>
<h2>text here!</h2>
</div>
<div class="span3">
<img src="img/coffee.png" alt="Coffee and code">
</div>
</div><!-- /Row 1 -->
<div class="row no-space"><!-- Row 2 -->
<div class="span3">
<img src="img/code01.png" alt="Coda2 code">
</div>
<div class="span3">
<img src="img/code01.png" alt="Coda2 code">
</div>
</div><!-- /Row 2-->
</div><!-- Container -->
</section><!-- MAIN -->
The entire website will be built using span3 and 6, with a height of 220 for span3 and 460 for span6. Because span6 has a double height as against span 3, it will be a gap of 240px between the span3 from the first row and the first span3 from the secound row.
How I can remove this gap, I tried nesting but is not really something that I need, because the divs(span3) will be shuffled every time the website will be reloaded.
Thank you for your time and help.
I think what u want to do is think of the spans as columns and add the data inside of the columns
<section role="main">
<div class="container">
<div class="row no-space"><!-- Row 1 -->
<div class="span3">
<h2>{ logo here }</h2>
<h3>[ logo here ]</h3>
<img src="img/code01.png" alt="Coda2 code">
</div>
<div class="span6" data-rowspan="2" data-colspan="2">
<h2>Text here, text here <em>text here</em>...</h2>
<h2>text here!</h2>
</div>
<div class="span3">
<img src="img/coffee.png" alt="Coffee and code">
<img src="img/code01.png" alt="Coda2 code">
</div>
</div><!-- /Row 1 -->
</div><!-- Container -->