Posicionamento de Elementos

Static positioning

/codes/css/position/position-static/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-static/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-static/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: static;
}
 
/codes/css/position/position-static/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: static;
}
 

Relative positioning

/codes/css/position/position-relative/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-relative/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-relative/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: relative;
  top: 5.8vw;
  left: 5.8vw;
}
 
/codes/css/position/position-relative/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: relative;
  top: 5.8vw;
  left: 5.8vw;
}
 

Propriedades: top, bottom, left, right, z-index

/codes/css/position/z-index/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box" id="three">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/z-index/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box" id="three">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/z-index/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: relative;
  top: 5.8vw;
  left: 5.8vw;
  z-index: -1;
}
 
#three {
  z-index: -2;
}
 
/codes/css/position/z-index/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: relative;
  top: 5.8vw;
  left: 5.8vw;
  z-index: -1;
}
 
#three {
  z-index: -2;
}
 

Absolute positioning

/codes/css/position/position-absolute/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-absolute/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-absolute/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: absolute;
  top: 5.8vw;
  left: 5.8vw;
}
 
/codes/css/position/position-absolute/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: absolute;
  top: 5.8vw;
  left: 5.8vw;
}
 

Positioning contexts (Closest positioned)

/codes/css/position/position-static-absolute/index.html
<div class="static parent">
  <div class="absolute child"></div>
</div>
/codes/css/position/position-static-absolute/index.html
<div class="static parent">
  <div class="absolute child"></div>
</div>
/codes/css/position/position-static-absolute/css/style.css
body {
  margin: 0;
}
 
.static {
  position: static;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.parent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/position-static-absolute/css/style.css
body {
  margin: 0;
}
 
.static {
  position: static;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.parent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/position-relative-absolute/index.html
<div class="relative parent">
  <div class="absolute child"></div>
</div>
/codes/css/position/position-relative-absolute/index.html
<div class="relative parent">
  <div class="absolute child"></div>
</div>
/codes/css/position/position-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.relative {
  position: relative;
  top: 20px;
  left: 20px;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.parent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/position-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.relative {
  position: relative;
  top: 20px;
  left: 20px;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.parent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/position-relative-relative-absolute/index.html
<div class="relative grandparent">
  <div class="relative parent">
    <div class="absolute child"></div>
  </div>
</div>
/codes/css/position/position-relative-relative-absolute/index.html
<div class="relative grandparent">
  <div class="relative parent">
    <div class="absolute child"></div>
  </div>
</div>
/codes/css/position/position-relative-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.relative {
  position: relative;
  top: 20px;
  left: 20px;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.grandparent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.parent {
  width: 100px;
  height: 100px;
  background-color: green;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/position-relative-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.relative {
  position: relative;
  top: 20px;
  left: 20px;
}
 
.absolute {
  position: absolute;
  top: 20px;
  left: 20px;
}
 
.grandparent {
  margin-top: 50px;
  margin-left: 50px;
  width: 200px;
  height: 200px;
  background-color: red;
}
 
.parent {
  width: 100px;
  height: 100px;
  background-color: green;
}
 
.child {
  width: 100px;
  height: 100px;
  background-color: lime;
}
 

Fixed positioning

/codes/css/position/position-fixed/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-fixed/index.html
<div class="box">1</div>
<div class="box" id="two">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box">6</div>
<div class="box">7</div>
<div class="box">8</div>
<div class="box">9</div>
<div class="box">10</div>
<div class="box">11</div>
<div class="box">12</div>
<div class="box">13</div>
<div class="box">14</div>
<div class="box">15</div>
<div class="box">16</div>
<div class="box">17</div>
<div class="box">18</div>
<div class="box">19</div>
<div class="box">20</div>
<div class="box">21</div>
<div class="box">22</div>
<div class="box">23</div>
<div class="box">24</div>
<div class="box">25</div>
<div class="box">26</div>
<div class="box">27</div>
<div class="box">28</div>
<div class="box">29</div>
<div class="box">30</div>
<div class="box">31</div>
<div class="box">32</div>
<div class="box">33</div>
<div class="box">34</div>
<div class="box">35</div>
<div class="box">36</div>
<div class="box">37</div>
<div class="box">38</div>
<div class="box">39</div>
<div class="box">40</div>
<div class="box">41</div>
<div class="box">42</div>
<div class="box">43</div>
<div class="box">44</div>
<div class="box">45</div>
<div class="box">46</div>
<div class="box">47</div>
<div class="box">48</div>
<div class="box">49</div>
<div class="box">50</div>
<div class="box">51</div>
<div class="box">52</div>
<div class="box">53</div>
<div class="box">54</div>
<div class="box">55</div>
<div class="box">56</div>
<div class="box">57</div>
<div class="box">58</div>
<div class="box">59</div>
<div class="box">60</div>
/codes/css/position/position-fixed/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: fixed;
  top: 5.8vw;
  left: 5.8vw;
}
 
/codes/css/position/position-fixed/css/style.css
body {
  margin: 0px;
  display: flex;
  flex-flow: row wrap;
}
 
.box {
  font-size: 3rem;
  color: #000;
  background-color: #fff;
  width: 9vw;
  min-width: 50px;
  height: 9vw;
  min-height: 50px;
  border: 3px #000 solid;
  margin: calc((1vw / 2) - 3px);
  display: flex;
  justify-content: center;
  align-items: center;
}
 
#two {
  background-color: #eee;
  position: fixed;
  top: 5.8vw;
  left: 5.8vw;
}
 

Sticky positioning

/codes/css/position/position-sticky/index.html
<dl>
  <div>
    <dt>Preprocessors</dt>
    <dd>LESS</dd>
    <dd>PostCSS</dd>
    <dd>Sass</dd>
    <dd>STYLIS</dd>
    <dd>Stylus</dd>
  </div>
  <div>
    <dt>Frameworks</dt>
    <dd>Bootstrap</dd>
    <dd>Bulma</dd>
    <dd>inuit.css</dd>
    <dd>Foundation</dd>
    <dd>Materialize</dd>
    <dd>material-components-web</dd>
    <dd>Milligram</dd>
    <dd>Pure.css</dd>
    <dd>Semantic UI</dd>
    <dd>Spectre.css</dd>
    <dd>Strawberry</dd>
    <dd>Wing</dd>
    <dd>UIkit</dd>
    <dd>unsemantic</dd>
    <dd>Tachyons</dd>
    <dd>Tacit</dd>
  </div>
  <div>
    <dt>Reset and Normalize</dt>
    <dd>Normalize</dd>
    <dd>Normalize-OpenType</dd>
    <dd>MiniReset.css</dd>
    <dd>sanitize.css</dd>
    <dd>unstyle.css</dd>
  </div>
  <div>
    <dt>Naming conventions & Methodologies</dt>
    <dd>Hyphen Delimited</dd>
    <dd>Atomic OOBEMITSCSS</dd>
    <dd>BEM</dd>
    <dd>oCSS</dd>
    <dd>SMACSS</dd>
    <dd>Point North</dd>
    <dd>ITCSS</dd>
    <dd>OOCSS</dd>
    <dd>Title CSS</dd>
    <dd>idiomatic-css</dd>
    <dd>Atomic Design</dd>
    <dd>SUIT CSS</dd>
    <dd>Kickoff CSS</dd>
    <dd>MaintainableCSS</dd>
    <dd>NCSS</dd>
  </div>
</dl>
/codes/css/position/position-sticky/index.html
<dl>
  <div>
    <dt>Preprocessors</dt>
    <dd>LESS</dd>
    <dd>PostCSS</dd>
    <dd>Sass</dd>
    <dd>STYLIS</dd>
    <dd>Stylus</dd>
  </div>
  <div>
    <dt>Frameworks</dt>
    <dd>Bootstrap</dd>
    <dd>Bulma</dd>
    <dd>inuit.css</dd>
    <dd>Foundation</dd>
    <dd>Materialize</dd>
    <dd>material-components-web</dd>
    <dd>Milligram</dd>
    <dd>Pure.css</dd>
    <dd>Semantic UI</dd>
    <dd>Spectre.css</dd>
    <dd>Strawberry</dd>
    <dd>Wing</dd>
    <dd>UIkit</dd>
    <dd>unsemantic</dd>
    <dd>Tachyons</dd>
    <dd>Tacit</dd>
  </div>
  <div>
    <dt>Reset and Normalize</dt>
    <dd>Normalize</dd>
    <dd>Normalize-OpenType</dd>
    <dd>MiniReset.css</dd>
    <dd>sanitize.css</dd>
    <dd>unstyle.css</dd>
  </div>
  <div>
    <dt>Naming conventions & Methodologies</dt>
    <dd>Hyphen Delimited</dd>
    <dd>Atomic OOBEMITSCSS</dd>
    <dd>BEM</dd>
    <dd>oCSS</dd>
    <dd>SMACSS</dd>
    <dd>Point North</dd>
    <dd>ITCSS</dd>
    <dd>OOCSS</dd>
    <dd>Title CSS</dd>
    <dd>idiomatic-css</dd>
    <dd>Atomic Design</dd>
    <dd>SUIT CSS</dd>
    <dd>Kickoff CSS</dd>
    <dd>MaintainableCSS</dd>
    <dd>NCSS</dd>
  </div>
</dl>
/codes/css/position/position-sticky/css/style.css
* {
  box-sizing: border-box;
}
 
dl {
  width: 270px;
}
 
dl > div {
  background: #fff;
  padding: 24px 0 0 0;
}
 
dt {
  color: #000;
  background: #B8C1C8;
  border-bottom: 1px solid #989EA4;
  border-top: 1px solid #717D85;
  font: bold 18px/21px Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 2px 0 0 12px;
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
}
 
dd {
  color: #000;
  font: bold 20px/45px Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0 0 0 12px;
  white-space: nowrap;
}
 
dd + dd {
  border-top: 1px solid #CCC;
}
 
/codes/css/position/position-sticky/css/style.css
* {
  box-sizing: border-box;
}
 
dl {
  width: 270px;
}
 
dl > div {
  background: #fff;
  padding: 24px 0 0 0;
}
 
dt {
  color: #000;
  background: #B8C1C8;
  border-bottom: 1px solid #989EA4;
  border-top: 1px solid #717D85;
  font: bold 18px/21px Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 2px 0 0 12px;
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
}
 
dd {
  color: #000;
  font: bold 20px/45px Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0 0 0 12px;
  white-space: nowrap;
}
 
dd + dd {
  border-top: 1px solid #CCC;
}
 

Stretch a Box

Absolute inside Absolute, with Fixed Dimensions

/codes/css/position/fixed-height-static-static/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/fixed-height-static-static/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/fixed-height-static-static/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: static;
  width: 200px;
  border: 3px solid #000;
}
 
.child {
  position: static;
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/fixed-height-static-static/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: static;
  width: 200px;
  border: 3px solid #000;
}
 
.child {
  position: static;
  width: 100px;
  height: 100px;
  background-color: lime;
}
 

Absolute Inside Relative, with Fixed Dimensions

/codes/css/position/fixed-height-relative-absolute/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/fixed-height-relative-absolute/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/fixed-height-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: relative;
  width: 200px;
  border: 3px solid #000;
}
 
.child {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: lime;
}
 
/codes/css/position/fixed-height-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: relative;
  width: 200px;
  border: 3px solid #000;
}
 
.child {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: lime;
}
 

Absolute Inside Relative Without a Specific Height

/codes/css/position/strech-height-relative-absolute/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/strech-height-relative-absolute/index.html
<div class="parent">
  <div class="child"></div>
</div>
/codes/css/position/strech-height-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: relative;
  width: 200px;
  height: 100px;
  border: 3px solid #000;
}
 
.child {
  position: absolute;
  width: 100px;
  top: 0px;
  bottom: 0px;
  background-color: lime;
}
 
/codes/css/position/strech-height-relative-absolute/css/style.css
body {
  margin: 0;
}
 
.parent {
  position: relative;
  width: 200px;
  height: 100px;
  border: 3px solid #000;
}
 
.child {
  position: absolute;
  width: 100px;
  top: 0px;
  bottom: 0px;
  background-color: lime;
}
 

Float

/codes/css/position/float/index.html
<p>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam sequi nam
  ducimus ratione, consequuntur id dignissimos perspiciatis molestias
  placeat possimus quis, veniam totam ea repudiandae quisquam cupiditate
  quam. Quidem, eaque.
</p>
<p>
  Corporis numquam tenetur ut, sapiente illo possimus, mollitia a sed
  doloremque quaerat. Velit culpa voluptatum perferendis hic architecto,
  repellendus explicabo, reiciendis odio! Enim soluta modi quas, cupiditate
  consectetur velit quasi.
</p>
<img
  src="data:image/png;base64,i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fCfrTibwlmlbCjMjmpz5lhEtFPrKnNpjlySQpbnowtDbNVwo4aswaYLIloi9OaAbATFvRfJysHpdg5zKwja1aFGSV0IHkXDTAGW0HQ1KrBRPSySRzNcZI1IUwSDhJ0Zc0qMGhwBWboxpMLc1afMxZyMIeh683mM7NmAGIbbVtDb5lEM9J96UWyit0wHkTx5EYbv+vCJIvqWbiBnIH5xQUaIvEpwIDvD5LhKWqufErujjirBWwB5rYVgsOfrOlQRIMSZ7YNaXTaAYwVpjUP0PGG6yE+ynJgB+akqcOVSLP1KMbzO3VpDTAsU5c9LNwiOR6th/jXpD5fxRX1f1xY2ODjoaoGAAAAAElFTkSuQmCC"
  alt=""
/>
<p>
  Animi quos, ut error, inventore id quis, facere quod maiores commodi quia
  deleniti repudiandae, esse. Distinctio quidem dignissimos, alias omnis.
  Aut distinctio excepturi quasi nisi pariatur, reprehenderit provident
  beatae, quos.
</p>
<p>
  Similique numquam nisi earum totam ipsa tempora voluptates, aliquam neque
  eaque, dolore dolorum quia. Eveniet amet, sit numquam, optio quis
  aspernatur id voluptas laboriosam rerum aliquid, soluta minus asperiores
  fugiat.
</p>
<p>
  Quae expedita placeat neque ullam hic. Aspernatur adipisci quidem ex
  doloremque officia quas in itaque esse voluptatibus quae ipsa harum enim
  facilis eveniet commodi voluptates, dolore dolores quasi optio. Maxime!
</p>
/codes/css/position/float/index.html
<p>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam sequi nam
  ducimus ratione, consequuntur id dignissimos perspiciatis molestias
  placeat possimus quis, veniam totam ea repudiandae quisquam cupiditate
  quam. Quidem, eaque.
</p>
<p>
  Corporis numquam tenetur ut, sapiente illo possimus, mollitia a sed
  doloremque quaerat. Velit culpa voluptatum perferendis hic architecto,
  repellendus explicabo, reiciendis odio! Enim soluta modi quas, cupiditate
  consectetur velit quasi.
</p>
<img
  src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAAD3CAMAAABmQUuuAAAA81BMVEX///8/oUw1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AbATFvRfJysHpdg5zKwja1aFGSV0IHkXDTAGW0HQ1KrBRPSySRzNcZI1IUwSDhJ0Zc0qMGhwBWboxpMLc1afMxZyMIeh683mM7NmAGIbbVtDb5lEM9J96UWyit0wHkTx5EYbv+vCJIvqWbiBnIH5xQUaIvEpwIDvD5LhKWqufErujjirBWwB5rYVgsOfrOlQRIMSZ7YNaXTaAYwVpjUP0PGG6yE+ynJgB+akqcOVSLP1KMbzO3VpDTAsU5c9LNwiOR6th/jXpD5fxRX1f1xY2ODjoaoGAAAAAElFTkSuQmCC"
  alt=""
/>
<p>
  Animi quos, ut error, inventore id quis, facere quod maiores commodi quia
  deleniti repudiandae, esse. Distinctio quidem dignissimos, alias omnis.
  Aut distinctio excepturi quasi nisi pariatur, reprehenderit provident
  beatae, quos.
</p>
<p>
  Similique numquam nisi earum totam ipsa tempora voluptates, aliquam neque
  eaque, dolore dolorum quia. Eveniet amet, sit numquam, optio quis
  aspernatur id voluptas laboriosam rerum aliquid, soluta minus asperiores
  fugiat.
</p>
<p>
  Quae expedita placeat neque ullam hic. Aspernatur adipisci quidem ex
  doloremque officia quas in itaque esse voluptatibus quae ipsa harum enim
  facilis eveniet commodi voluptates, dolore dolores quasi optio. Maxime!
</p>
/codes/css/position/float/css/style.css
img {
  float: right;
}
 
/codes/css/position/float/css/style.css
img {
  float: right;
}
 

Referências

Editar esta página