elr-scss-address
v0.0.3
Published
a scss mixin
Downloads
3
Readme
Address and Location Listing Styles
a scss mixin for addresses
Screenshots
Address Block
Locations List
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install elr-scss-address
or
yarn add elr-scss-address
Implementation
Address Block
Arguments
primary-color: primary text color accent-color: accent text color
Scss
@import "elr-scss-address";
.address-block {
@include elr-address-block(
$config: (
color: #111,
accent-color: #005ebd,
)
);
}
HTML
<div class="address-block">
<address class="address">
<span class="business-name-line">Wildfire Publishing</span>
<span class="address-line">1234 Somewhere Lane</span>
<span class="address-line">#4321</span>
<span class="address-line">Austin TX 77000</span>
<span class="address-line">United States</span>
<span class="contact-line">
<span class="contact-label">Main Phone:</span> 512-555-5555
</span>
<span class="contact-line">
<span class="contact-label">Email:</span> [email protected]
</span>
</address>
</div>
License
SEE LICENSE IN LICENSE.md