question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unrelated minor suggestions

See original GitHub issue

Those are not really issues but several (unrelated) minor suggestions.

  • A - Consider adding a .clearfix class for the classical hack. E.g in Bootstrap:
  .clearfix:before, 
  .clearfix:after {
    content: " "; 
    display: table; 
  }

  .clearfix:after {
    clear: both;
  }
  • B - You have center-align, left-align, right-align and a vertical-align wrapper. It could be an idea to add a top-valign, bottom-valign and middle-valign in the same vein. E.g.: .middle-valign { vertical-align: middle; }

C Your .right and .left classes should be defined using “!important”. This allows them to be used, for e.g., to align a .badge to the left.

  • D - Don’t put the “new” text in your .badge.new… 😃

  • E - As a possible (full CSS) workaround to the “wave” effect:

  .radial-effect {
    background-image: -webkit-radial-gradient(circle farthest-side, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 100%);
    background-image: radial-gradient(circle farthest-side, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-size: 0%;
    background-position: 50%;
    transition: background-size 0.3s ease box-shadox: 0.3s;
  }

  .radial-effect.inverted {
    background-image: -webkit-radial-gradient(circle farthest-side, rgba(0, 0, 0, 0.2) 100%, rgba(0, 0, 0, 0) 100%);
    background-image: radial-gradient(circle farthest-side, rgba(0, 0, 0, 0.2) 100%, rgba(0, 0, 0, 0) 100%);
  }

  .radial-effect:hover {
    background-size: 110%;
  }
  • F - The .materialize-textarea is not properly aligned with classical input fields. I believe one could add a margin-top: -1rem; in it?

  • G - We already have .divider for an horizontal divider. Consider adding a .vertical-divider? (I don’t know exactly how to do that in a proper way).

  • H - I like badges. But sometimes, I want circular badges. At the moment, I use this:

  .circle {
      border-radius: 0.7em;
      display: inline-block;
      line-height: 1.4em;
      margin-right: 4px;
      text-align: center;
      width: 1.4em; 
  }

However, I’m not sure this is “Material Design”-compliant 😃

I forgot: I really like MaterializeCSS. Thank you for your job!!

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:1
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
michelepatrassicommented, Aug 2, 2016

+1 clearfix

3reactions
rubendinhocommented, Apr 5, 2016

+1 re Vertical divider

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Minor? | Career Advice & Interview Tips - WayUp
A minor unrelated to your field may show employers that you are curious and multi-faceted. Either way, a minor indicates that you are...
Read more >
How To List Your Major and Minor on a Resume ... - Indeed
How To List Your Major and Minor on a Resume (With Examples) · 1. Create an education section · 2. List macro information...
Read more >
How to List a Minor on a Resume (+Examples) - ZipJob
You should list your minor underneath your degree, school name, and location. You should always label it as a "minor" to differentiate it...
Read more >
Instructions for completing Petition for Adoption of Unrelated ...
This petition is the primary form filed in the adoption of a minor child who is not related to the petitioner(s). An original...
Read more >
Is it possible to major in accounting and minor in something ...
Is it ok to minor in something unrelated to you major? 5,148 Views ... My top recommendation would be to not have a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found