25.06.2018 Views

Full-Stack Vue.js 2 and Laravel 5

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

margin-right: 0;<br />

}<br />

<br />

Finally, we'll need to add a rule to prevent the listings from forcing the edge of<br />

the document to exceed the viewport. Add this to the main CSS file.<br />

resources/assets/css/style.css: html, body { overflow-x: hidden; }<br />

With that, we get a nice looking home page:<br />

Figure 7.12. Listing summaries in rows You'll notice that at full page width, we can only see three listings<br />

from each country group. The other seven are hidden by the CSS overflow: hidden rule. Soon, we'll be<br />

adding image slider functionality to each group to allow the user to browse through all the listings.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!