Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1º Banana hangout #21

Open
afonsopacifer opened this issue Aug 12, 2016 · 0 comments
Open

1º Banana hangout #21

afonsopacifer opened this issue Aug 12, 2016 · 0 comments

Comments

@afonsopacifer
Copy link
Member

afonsopacifer commented Aug 12, 2016

1º Banana hangout

minions-funny-gif-GiNyo8KD5j9mM

Participantes:

O que rolou:

Apresentação dos objetivos do projeto e primeiras features.

Objetivo:

Colher feedbacks e gerar ideias.

Novas features sugeridas:

Grid:

Banana code:

.row {
    bnn-width: 900px;
    bnn-position: center;
    bnn-align: left top;
}

.column {
    bnn-col: 4 12 2px; /* cols | total of cols | margins */
}

CSS result

.row {
    width: 100%;
    max-width: 900px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

.column {
    margin-right: 2px;
    margin-left: 2px;
    width: x%; /*  x = ((100% * 4) / 12) - (2px * 2) */
}

Box model:

Banana code:

.* {
    bnn-box: default;
    bnn-box: content;
}

CSS result

.* {
    box-sizing: border-box;
    box-sizing: content-box;    
}

Transform:

Banana code:

.element {
    bnn-x: 200px;
    bnn-y: 150px;
    bnn-scale: 50%;
    bnn-rotate: 45deg;
}

CSS result

.element {
    transform: translateX(200px) translateY(150px) scale(.5) rotate(45deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant