Skip to content

Instantly share code, notes, and snippets.

View olaneat's full-sized avatar

OlaNeat Ayoola olaneat

View GitHub Profile
@olaneat
olaneat / gist:0d65502906f7676da04b8d42e21b5ac0
Last active September 6, 2018 01:44
issues with creating dropdown in navbar <li> tag
<ul class="nav nav-pills nav-justified">
<li><a href=" {% url 'index' %} "><span class="glyphicon glyphicon-home"></span> Home</a></li>
<li><a href=" {% url 'books' %} ">Services</a></li>
<li><a href=" ">Students</a>
</li>
<li class="dropdown">
<a href=" {% url 'staff' %} " class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> Staffs <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
@olaneat
olaneat / doument
Created March 12, 2017 00:05
html 2
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}