In this lesson, we learn how to generate custom utility classes in tailwind. We add new properties to our JavaScript config object to generate new helper classes to suit our needs. Update gulpfile.js: const gulp = require("gulp"); const postcss…
You are able to extend the custom css with hover, focus, group-hover, responsive variants class in tailwind. https://tailwindcss.com/docs/functions-and-directives/#variants <section> <div> <h2 class="banana hover:chocolate"> so…
In this lesson, we take a look at tailwind's mobile-first CSS architecture and learn how to apply styles to specific media queries only. We also discover a couple of ways we can define custom media queries in the config file. You can add more breakpo…
When creating UIs with utility classes, a lot of repetition can occur within the HTML markup. In this lesson, we see how this concern can be addressed by extracting a group of tailwind utility classes into a component classname. We create a Blocks El…
原文地址:http://alphawang.com/blog/2014/09/utility-classes-are-evil/ This post is a summary of this artical and this one. What's Utility Classes A utility class is a class filled with static methods. It is usually used to isolate a "useful" algorith…
https://msdn.microsoft.com/en-us/library/2tw134k3.aspx You can extend ASP.NET configuration settings with XML configuration elements of your own. To do this, you create a custom configuration section handler. The handler must be a .NET Framework clas…
In Java, a utility class is a class that defines a set of methods that perform common functions. This post shows the most frequently used Java utility classes and their most commonly used methods. Both the class list and their method list are ordered…
http://www.codeproject.com/Tips/829025/How-to-Create-Custom-Filters-in-AngularJs Introduction Filter in Angular JS is a way that will help you to represent your data in View in a certain format. There are many inbuilt filters provided by Angular js t…
create custom launcher icon 是创建你的Android app的图标 点击下一步的时候,出现的界面就是创建你的Android的图标 Foreground: ” Foreground “ 栏位是指启动图示(Launcher Icon)的前景,也就是该启动图示的主元素,其中分为三种,一种为“Image”(点阵图片).“Clipart”(向量图片).“Text”(文字). 若想正式开发该Android手机应用的话,建议选取“Image”项目,也就是在建立android 手机应…
sonarlint提示add a private constructor to hide the implicit public one Utility classes should not have public constructors Utility classes, which are collections of static members, are not meant to be instantiated. Even abstract utility classes, which…