If you wish to add a 2-column card layout that will look as follows, follow the steps indicated.

Create a Raw HTML and enter the following code:

<head>

<meta charset=”UTF-8″>

<link rel=”stylesheet” href=”https://s3-eu-west-1.amazonaws.com/videofrance/fb-grid_V2.css”>

</head>

Without this code, you won’t be able to have a column layout.

Create another Raw HTML, and copy and paste the following HTML code and change the elements highlighted in blue.

<style>

.card {

box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);

transition: 0.3s;
width: auto;
border-radius: 5px;

}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
img {
border-radius: 5px 5px 0 0;
}
.container {
padding: 2px 16px;
}
</style>

<h2>Round Card</h2>

<div class=”row”>

<div class=”col col-span-6″>

<div class=”card”>

<img src=”/static/chiot1.jpg” alt=”Avatar” style=”width:100%”>

<div class=”container”>

<h4><b>Jane Doe,/b></h4>

<p>Interior Designer</p>

</div>

</div>

</div>

<div class=”col col-span-6″>

<div class=”card”>

<img src=”/static/chiot1.jpg” alt=”Avatar” style=”width:100%”>

<div class=”container”>
<h4><b>Jane Doe,/b></h4>


<p>Interior Designer</p>

</div>

</div>

</div>

</div>

Login to leave your feedback!

Leave a Reply

You must be logged in to post a comment.