I am having trouble implementing a responsive sidebar with a toggle icon. I found one on Codepen, but it is currently aligned to the left. How can I align it to the right?
I have been searching through the code and have tried using text-align and justify-self properties, but I cannot figure out where in the code it controls the alignment to make it display on the right side.
/* Primary Styles */
*, *::before, *::after {
box-sizing: border-box;
}
...(the rest of the CSS code)...
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"/>
<div class="s-layout">
<!-- Sidebar -->
<div class="s-layout__sidebar">
<a class="s-sidebar__trigger" href="#0">
<i class="fa fa-bars"></i>
</a>
...(the rest of the HTML code)...