settings
sidebars
box
clickme
modules
box
This is the box component!
Box!
Markup
Output
{ } Styles
Add a javascript file
Expand
Copy
Edit
<!-- components/modules/box.php --> <div class="box">Box!</div>
Copy
Copy
Edit
/* scss/modules/_box.scss */ $boxColor: #eee; .box{ background: $boxColor; padding: 20px; width: 300px; height: 150px; }