Although it may appear simplistic, as a beginner coder I am struggling to get my code to display properly (I am using bootstrap). The desired result I want to achieve is
FLAG languagename FLAG languagename
Here is the HTML:
<div class="">
<ul class="list-unstyled list-inline">
<li><a href="#"><div class="flag flag-lt"></div>Lietuvių</a></li>
<li><a href="#"><div class="flag flag-ru"></div>Rusų</a></li>
</ul>
</div>
And the CSS:
.flag {
width: 16px;
height: 11px;
background:url(http://oi60.tinypic.com/2q2iuj6.jpg) no-repeat
}
.flag.flag-lt {background-position: -16px 0}
.flag.flag-ru {background-position: 0 -11px}
I have created a js filldle with external resources