Add button element
MODIFY
public/style.css
public/style.css
@@ -119,6 +119,10 @@ body {
align-self: center;
}
+.row .column.align-right {
+ text-align: right;
+}
+
/* Form */
label, input {
@@ -130,8 +134,10 @@ label {
}
input {
- display: block;
font: inherit;
+}
+
+input, .button {
border-radius: 4px;
}
@@ -146,10 +152,21 @@ input[type=text]:focus, input[type=email]:focus, input[type=password]:focus {
outline: 0;
}
-input[type=submit] {
+.button, input[type=submit] {
padding: 12px 24px;
background: #4880FE;
color: #FFF;
+}
+
+.button {
+ display: inline-block;
+}
+
+.button:hover {
+ color: #FFF;
+}
+
+input[type=submit] {
border: none;
}

MODIFY
resources/views/tags/index.blade.php
resources/views/tags/index.blade.php
@extends('layout')
@section('body')
+ <div class="row">
+ <div class="column align-middle">
<h1>Tags</h1>
+ </div>
+ <div class="column align-right">
+ <a href="#" class="button">Create</a>
+ </div>
+ </div>
<div class="box spacing-top-large">
<table>
<tbody>

Add button element