Snippets Collections
// variables

$size-container: .333rem !default;
3
$col-padding: 0.37rem !default;

$cols:  !default;
5
$gutter-x: $col-padding;

$gutter-y: 0;
7
​

// mediaqueries
9
​

// breakpoint del sistema de columna

$mq: (
12
  xs: 0,

  sm: 576px,

  md: 768px,

  lg: 992px,

  xl: 10px,

  xxl: 1400px

)!default;

​
20
$sizes: 0, 576px, 768px, 992px, 1200px, 1400px;

​

@mixin make-container{
.flexwithgap {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.flex-container {

  /* We first create a flex layout context */

  display: flex;

  

  /* Then we define the flow direction 

     and if we allow the items to wrap 

   * Remember this is the same as:

   * flex-direction: row;

   * flex-wrap: wrap;

   */

  flex-flow: row wrap;

  

  /* Then we define how is distributed the remaining space */

  justify-content: space-around;

  

  padding: 0;

  margin: 0;

  list-style: none;
// for parent div
      style="display: flex; align-items: center; justify-content: center"
.container {
  display: flex; /* or inline-flex */
}
star

Sat Mar 04 2023 18:23:26 GMT+0000 (Coordinated Universal Time) https://codepen.io/wander031180/pen/dyzzqGL

#scss #flexbox #grid_system
star

Thu Aug 11 2022 23:23:55 GMT+0000 (Coordinated Universal Time)

#css #flexbox
star

Wed Jul 21 2021 11:38:00 GMT+0000 (Coordinated Universal Time) https://codepen.io/team/css-tricks/pen/EKEYob

#flexbox #css
star

Sat May 22 2021 07:00:42 GMT+0000 (Coordinated Universal Time)

#css #flexbox #horizontal-center
star

Fri May 21 2021 20:01:42 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/css/a-guide-to-flexbox/

#css #flexbox

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension