List of Events Web Design Tutorial
Pretty posts
Thanks to Adrian Mato to created List of Events photoshop version and share it on dribbble. He used different color scheming on this. I have taken inspiration from his design and finally made list of events web design version. To completing full of project, I have used HTML & CSS code. If you want, you can add it to your next web design project such as on themes, plugins, HTML Templates etc.
Let's start our journey how i created this
HTML
<div class="cb-list-event">
<ul>
<li><a href=""><span class="le-date">07 JUN</span><h3>Lorem ipsum minto wolo minuom kisas ni polar dimor jihoni molp</h3></a></li>
<li><a href=""><span class="le-date">07 FEB</span><h3>Lorem ipsum minto wolo minuom kisas ni polar dimor jihoni molp</h3></a></li>
<!--...-->
</ul>
</div>
Customize: You can add up to 5 <li>...</li> lists elements. First i created a div element with .cb-list-event class and i completed full project on this div. Then created an unordered list with <ul> tags. Each list item starts with the <li> tags. Added events date between <span class="le-date">...</span> elements. List of events title added between <h3>...</h3> tags.CSS
.cb-list-event ul {
list-style: none;
padding: 0;
margin: 0;
}
.cb-list-event li {
background-color: #ffffff;
border-top: 1px solid #f1f1f1;
box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.05);
clear: both;
margin: 0 0 10px;
padding: 0;
overflow: hidden;
border-radius: 4px 0 0 4px;
}
.cb-list-event a {
font-family: "Open Sans",sans-serif;
font-size: 13px;
text-decoration: none;
}
.cb-list-event li span.le-date {
background-color: #bfde81;
text-transform: uppercase;
color: #608e23;
float: left;
font-weight: bold;
height: 40px;
line-height: 40px;
margin: 0;
padding: 0;
text-align: center;
width: 75px;
}
.cb-list-event li + li span.le-date {
background-color: #faebb3;
color: #937f2a;
}
.cb-list-event li + li + li span.le-date {
background-color: #ee908e;
color: #9e3f3c;
}
.cb-list-event li + li + li + li span.le-date {
background-color: #81d4de;
color: #258d9c;
}
.cb-list-event li + li + li + li + li span.le-date {
background-color: #f3f3f3;
color: #666;
}
.cb-list-event li h3 {
color: #303030;
font-weight: normal;
height: 40px;
line-height: 40px;
overflow: hidden;
margin:0;
padding: 0 10px;
font-size: 13px;
}
.cb-list-event li:hover {
background-color: #d8ebb3;
opacity: 0.9;
}
.cb-list-event li + li:hover {
background-color: #fdf8e3;
}
.cb-list-event li + li + li:hover {
background-color: #f9dddd;
}
.cb-list-event li + li + li + li:hover {
background-color: #ccedf1;
}
.cb-list-event li + li + li + li + li:hover {
background-color: #f9f9f9;
}
Customize: From .cb-list-event a class, you can change it's default font "Open Sans",sans-serif and list of events date font size 13px. Default list title background color is white that you can change from .cb-list-event li class. For changing list title default 13px font size, you need to edit from .cb-list-event li h3 class. We have used CSS selector option to changing different background and font color.Browser support:
That's it and i think that you have enjoyed this post.
Recommended Post:
1. CSS3 Creative Social Media Button Styles
2. Responsive Author Box Design with HTML5 & CSS3




No Comment to " List of Events Web Design Tutorial "