Comments (8)
@zxqfox This is not table. Table block will be created in bem-content library. You are really need this? Can you get some example?
from sharps.
Согласен. Это не приживется.
from sharps.
А еще, вроде бы, это рулится через variables глобально.
Example for first case:
{ block: 'row', content: [
{ elem: 'col', mods: { mw: 4 }, content: '<div style="background:red"></div>' }, // slipaetsya
{ elem: 'col', mods: { mw: 4 }, content: '<div style="background:green"></div>' }
] }
from sharps.
@zxqfox Что-то я не понимаю в чем проблема. Если нужны отступы, регулируй их из variables, с помощью padding.
from sharps.
Мне отступы были нужны исключительно для одной колонки. Было бы удобно рулить этим из бемжсон. Но я не настаиваю :-)
from sharps.
А почему бы не сделать отступ тогда у блока внутри это колонки?
from sharps.
Логика была в том, чтобы иметь поменьше дом нод. в итоге сделал микс и на него повесил отступ.
В общем, не хотите — как хотите :)
from sharps.
Ок, спасибо за предложение :)
from sharps.
Related Issues (20)
- Provide web interface to download compiled dist HOT 4
- Incorrect value for field "main" in package.json HOT 1
- Оформление плагина в виде модуля для postss HOT 2
- Migrate to postcss-cssnext
- Migrate to autoprefixer
- distribute as postcss plugin HOT 1
- Fix "lost-column" and "lost-offset" rule bug
- Build failed HOT 3
- rename to Sharps
- declare grid for different screen sizes
- add examples in html and bem-indent-syntax
- mark bem-grid as deprecated
- horizontal scroll
- s : true behaves weird in chrome HOT 1
- ENB сборка зависает HOT 3
- publish to postcss parts HOT 2
- using order mods breaks gutter HOT 2
- The calculation of the width of the screen HOT 1
- span columns throught multi rows HOT 3
- GitHub Pages offline HOT 1
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 sharps.