A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
position from config.js conversion to main.css
-
Hello anybody,
could anyone explain me how the mgic mirror converts the position from config.js to the
css Styles from main.css?position: ‘top_center’ in config.js finds
.region
.region.top
.region.top.center
in main.css but how is this done?Thanks
Fried -
@Dimonic every region has the class
region
, the position gets splitted by underscore. then you have the classtop
andcenter
the selector will match any tag which has the class
region
andtop
andcenter
e.g.
anytag class="region top center"
EDIT: it wont let me write real html code < nor <