10.2.1 Creating a Responsive Header; Listing 10-1 Adding Responsive Content to the _Layout.cshtml file
parent
dfd6b230f6
commit
fa611c9e3b
|
@ -7,10 +7,20 @@
|
||||||
<link href="~/Content/bootstrap-theme.css" rel="stylesheet"/>
|
<link href="~/Content/bootstrap-theme.css" rel="stylesheet"/>
|
||||||
<link href="~/Content/ErrorStyles.css" rel="stylesheet"/>
|
<link href="~/Content/ErrorStyles.css" rel="stylesheet"/>
|
||||||
<title>@ViewBag.Title</title>
|
<title>@ViewBag.Title</title>
|
||||||
|
<style>
|
||||||
|
.navbar-right {
|
||||||
|
float: right !important;
|
||||||
|
margin-right: 15px; margin-left: 15px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="navbar navbar-inverse" role="navigation">
|
<div class="navbar navbar-inverse" role="navigation">
|
||||||
<a class="navbar-brand" href="#">SPORTS STORE</a>
|
<a class="navbar-brand" href="#">
|
||||||
|
<span class="hidden-xs">SPORTS STORE</span>
|
||||||
|
<span class="visible-xs">SPORTS</span>
|
||||||
|
<span class="visible-xs">STORE</span>
|
||||||
|
</a>
|
||||||
@Html.Action("Summary", "Cart")
|
@Html.Action("Summary", "Cart")
|
||||||
</div>
|
</div>
|
||||||
<div class="row panel">
|
<div class="row panel">
|
||||||
|
|
Loading…
Reference in New Issue