Git Product home page Git Product logo

chall_newbie_results-summary-component's Introduction

Frontend Mentor - Results summary component solution

This is a solution to the Results summary component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Screenshot

Design preview for the Results summary component coding challenge

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Sass - CSS pre-processor

What I learned

The recap that is recorded here is basic css which I often rarely use.

  • gradient color in css:
.sec-1 {
    background: linear-gradient($Light_slate_blue_bg, $Light_royal_blue_bg);
}
  • hide scrollbars for different browsers :
.container {

    // mozila
    -ms-overflow-style: none; 
    scrollbar-width: none;

    // chrome
    &::-webkit-scrollbar{ 
        display: none;
    }
}

Continued development

The Sass code here can be simplified even more. The use of @import is deprecated, so the future of this project will be adapted to the latest version of SASS. In addition, use font files that can still be optimized using SASS.

Useful resources

  • CSS Grid - the easiest guide to use the grid, there is a picture of each code that will be generated, cool
  • Hide Scroll bar - Hide scroll bar, but while still being able to scroll
  • @font-face rules in SASS - guide to using font files on a project in SASS with @mixin

Author

chall_newbie_results-summary-component's People

Contributors

fidaatag avatar

Watchers

 avatar

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.