Comments (3)
Does the article
contain other children? The only thing LTR or RTL does is make children that are using span-columns
or shift
or omega
float left or right.
from neat.
My article
contains one div
with span-columns(4 of 14)
and a div
with span-columns(9 of 14)
and shift(1)
Code:
#services {
@include span-columns(14 of 14);
article {
margin-bottom: 50px;
padding-bottom: 50px;
border-bottom: 2px solid $grey-box;
&.odd {
@include row(block, LTR);
}
&.even {
@include row(block, RTL);
}
.side {
@include span-columns(4 of 14);
}
.main-content {
@include span-columns(9 of 14);
@include shift(1);
}
}
}
from neat.
Yes, so in this case you have to nest the .side
and .main-content
in .odd
then in .even
, otherwise they'll just end up using the last direction called, it this case RTL.
from neat.
Related Issues (20)
- Breakpoints not working, version 1.9 HOT 5
- outer-container not working properly, version 1.9.0 HOT 2
- Remove margin-left from first column? HOT 8
- Grid IN vs OUT HOT 1
- Using 'border' and 'padding' can break simple grid-column set in Neat 2.1.0. HOT 4
- Can't display the visual grids HOT 1
- Help with layout and new syntax please HOT 4
- Non-mobile first media queries HOT 5
- Sticky footer? HOT 1
- Module build failed: @return $n * $column-width + ($n - 1) * $gutter-width; HOT 4
- using paddings instead of margins for gutter HOT 4
- Remove node-sass dependency from 1.x HOT 2
- Grid not responding correctly in Safari / iOS until refresh. HOT 5
- toggle the device mode HOT 2
- Deprecated Unescaped multiline strings HOT 5
- NPM release HOT 6
- Neat fails on import using DartSass 1.11.0 and 1.12.0 HOT 4
- npm install: installs [email protected] HOT 6
- issue w/_neat-parse-columns HOT 1
- ruby-sass has reached end of life HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neat.