Skip to content

Commit

Permalink
add layer for content
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchox5 committed Oct 17, 2023
1 parent c3b36c8 commit c2ccf84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/spread.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<div class="o-orbiter o-md" style="background-color: rgb(194, 212, 29);"></div>
<div class="o-orbiter o-md" style="background-color: rgb(194, 212, 29);"></div>
<div class="o-orbiter o-md" style="background-color: rgb(194, 212, 29);">
<div class="o-content">Hola</div>
<div class="o-content">Hola todo bien</div>
<div class="o-orbit">

<div class="o-orbiter o-xxs" style="background-color: rgb(42, 165, 95);"></div>
Expand Down
2 changes: 2 additions & 0 deletions src/utilities/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
@use '../settings/sass-variables' as *;

.o-orbiter > .o-content {
position:absolute;
padding: 5px;
width: inherit;
height: inherit;
display: grid;
border-radius: inherit;
@include alignment;
text-align: center;
overflow: hidden;
z-index: 10;
}
Expand Down

0 comments on commit c2ccf84

Please sign in to comment.