adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Flexbox #14658

Open Yka59 opened 5 years ago

Yka59 commented 5 years ago

Prerequisites

For more information on how to write a good bug report read here For more information on how to contribute read here

Description

[Description of the bug or feature]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Versions

Please include the OS and what version of the OS you're running. Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

Yka59 commented 5 years ago

I've just downloaded Brackets, and quit new to coding. I'm trying to work with Flexbox in Brackets but for some reason It don't work? C attach file. Is there an extension, or what should I do? nayttokuva 2019-2-25 kello 15 25 00

Yka59 commented 5 years ago

Sorry almost forgot. OS 10.13.6

mslourens commented 5 years ago

You are using the old flexbox spec:

So this doesn't seem to be a Brackets specific issue

Yka59 commented 5 years ago

Hi. Thanks for your reply. My mistake, I took a book that I thought was released 2018, but after your e-mail I took a closer look, and It was 2015. Sorry about that, and thank you, I really appreciate It.

Brgds:Ykä!!

Yrjö Halinen gsm: +358 40 171 4929 e-mail: yhalinen@gmail.com

ke 27. helmik. 2019 klo 21.38 Maurits Lourens (notifications@github.com) kirjoitti:

You are using the old flexbox spec:

display: box should be display: flex box-flex should be just flex box-orient should be flex-direction box-ordinal-group should be order

So this doesn't seem to be a Brackets specific issue

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

CLantigua2 commented 5 years ago

yes, as @mslourens stated this is due to the older version of flexbox. Current version requires you to set your display: flex on the parent container. Here is a fantastic guide for flexbox properties that should be easy to follow. FlexBox Guide You can also checkout this interactive flexbox froggy game to get a more hands on approach to flexbox syntax. FlexBox Froggy