Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----ContentArea on start page-----
- <div id="startPage">
- <div class="jumbotron-image">
- <span class="jumbotron-text">
- @Html.PropertyFor(t => t.JumbotronText, new { CustomTag = "h1" })
- </span>
- </div>
- <div id="start-main-block" class="container">
- @Html.PropertyFor(c => c.ContentAreaMain, new {CssClass ="row"})
- </div>
- <div class="clearfix"></div>
- </div>
- ----BLOCK-----
- <div class="teaser-block col-sm-4">
- <div class="teaser-block-tumbnail">
- <img src="@UrlResolver.Current.GetUrl(Model.Thumbnail, null, new VirtualPathArguments()
- { ContextMode = ContextMode.Default })" />
- </div>
- <div class="teaser-block-headline">
- <h3>
- @Html.PropertyFor(m => m.Headline)
- </h3>
- </div>
- <div class="teaser-block-description">
- @Html.PropertyFor(d => d.Description)
- </div>
- </div>
- ----CSS----
- #start-main-block {
- max-width: 950px;
- margin: 0 auto;
- height: 100%;
- max-height: 480px;
- padding-top: 100px;
- background-color: red;
- }
- .teaser-block img {
- width: 300px;
- max-height: 200px;
- }
- .teaser-block h3 {
- font-weight: bold;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement