© Lee Naylor 2016

Lee Naylor, ASP.NET MVC with Entity Framework and CSS , 10.1007/978-1-4842-2137-2_15

15. Styling the Home Page

Lee Naylor

(1)Newton-le-Willows, Merseyside, UK

The chapter introduces some additional features of CSS, including using line-height and border-radius to add rounding effects, as well as controlling font-weight and font sizes. Next we’ll show you how to make use of float to display elements vertically next to one another and how to use the clear property to end floating, as well as how to style links to appear like a button, and how to hide an element from the page.


To complete this chapter, you must either have completed Chapter 14 or download the source code for Chapter 14 from www.apress.com as a starting point. ...

Get ASP.NET MVC with Entity Framework and CSS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.