Simplifying complex styles

We can go further in our code to abstract and simplify the presentational classes being used; as an example, we'll edit the code to replace the CSS style names used on the two button types present in the code:

  1. Let's start by opening up the jumbotron.html file again. Here, we need to remove the line starting with <p><a class="btn btn-default"… and replace it as indicated:
    <!--<div class="container">--> <div class="wrapper"> <!-- Example row of columns --> <div class="row"> <div class="left-content"> <h2>Heading</h2> <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. ...

Get Learning Less.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.