Giter VIP home page Giter VIP logo

fem-adv-css-layout's Issues

08 type scales: media queries aren't affecting the CSS custom properties

The media queries are missing the targeting of :root, which is where the variables are scoped at the top of the CSS file.

In the videos (2nd video, "Custom Properties Type Scale", at ~10:22), we see:

@media (min-width: 480px) {
  --base-size: 1.15em;
}

But instead, it should be:

@media (min-width: 480px) {
  :root {
    --base-size: 1.15em;
  }
}

CSS Calc() & Custom Properties

There are mistakes in the pdf on page 7.
before:
.col-2-7{
width:calc(100%/2* 7);
}
.col-3-7{
width:calc(100%/3*7);
}
after(correct):
.col-2-7{
width:calc(100% * 2 / 7);
}
.col-3-7{
width:calc(100% * 3 / 7);
}

font awesome 403 error

Exercise 2 and further exercises in each index.html

<script src="https://kit.fontawesome.com/fb7f6f30e4.js"></script>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.