I'm using bootstrap, and I have an anchor tag some text that I want to overlay in a corner of another text area. Problem is, that the bootstrap column is wasting space. Below is what id is doing now, with highlights of the divs, and below that is how I'd like the text to flow:
<div id="mainWrapper" class="wrapper">
<div class="content-main">
<div class="container-fluid">
<div class="row">
<div class="col-xxs-12 col-xs-10">
<p>Chuck Norris challenged Spain to a football match and won Chuck Norris can win a game of Connect Four in only three moves. Chuck Norris does not sleep. He waits. The Great Wall of China was originally created to keep Chuck Norris out. It failed miserably, Chuck Norris is the reason why Waldo is hiding, Chuck Norris drives an ice cream truck covered in human skulls. When Chuck Norris went to Vegas, Sinatra sang "Your Way.", Remember the Soviet Union? They decided to quit after watching a DeltaForce marathon on Satellite TV Chuck Norris counted to infinity - twice. </p>
</div>
<div class="col-xxs-12 col-xs-2 semi-transparent">
<a html="www.google.com">Spanish</a>
</div>
</div>
</div>
</div>
</div>
What's the best way to do this?
Bootstrap has a class meant for the close button, happens to be on the top side just like you wanted. It might be useful. Use it like this:
<div class="col-xxs-12 col-xs-10">
<div class="close">
<a html="www.google.com">Spanish</a>
</div>
<p>Chuck Norris challenged Spain to a football match and won Chuck Norris can win a game of Connect Four in only three moves. Chuck Norris does not sleep. He waits. The Great Wall of China was originally created to keep Chuck Norris out. It failed miserably, Chuck Norris is the reason why Waldo is hiding, Chuck Norris drives an ice cream truck covered in human skulls. When Chuck Norris went to Vegas, Sinatra sang "Your Way.", Remember the Soviet Union? They decided to quit after watching a DeltaForce marathon on Satellite TV Chuck Norris counted to infinity - twice. </p>
</div>
You can probably add another class to it to override it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With