Skip to content

Commit c19b060

Browse files
David CruzDavid Cruz
authored andcommitted
Fix BEM variation nomenclature for 'btn' class
1 parent 45579b4 commit c19b060

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contact/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h2 itemprop="name"><i class="icon-briefcase"></i>Minuscode</h2>
5353
<input type="email" name="email" placeholder="E-mail" autocomplete="off" required>
5454
<textarea rows="9" name="message" placeholder="Message" required></textarea>
5555
</fieldset>
56-
<button type="submit" class="btn btn-red">Send &rarr;</button>
56+
<button type="submit" class="btn btn--red">Send &rarr;</button>
5757
<!-- <input type='submit' value='Test form' /> -->
5858
</form>
5959

css/src/ui/_buttons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
}
1919

20-
.btn-red {
20+
.btn--red {
2121
background: $red;
2222
border: 2px solid $red;
2323
color: #fff;
@@ -28,4 +28,4 @@
2828
background: none;
2929
color: $red;
3030
}
31-
}
31+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2>
1616
<span>or a brand activation, we can help you <strong>build it.</strong></span>
1717
</h2>
1818

19-
<a href="/contact" class="btn btn-red link--arrow-end">Get a Quote</a>
19+
<a href="/contact" class="btn btn--red link--arrow-end">Get a Quote</a>
2020
</div>
2121

2222
</div><!-- /masthead -->

0 commit comments

Comments
 (0)