Skip to content

Instantly share code, notes, and snippets.

Allan Nava Allan-Nava

Block or report user

Report or block Allan-Nava

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Allan-Nava
Allan-Nava / README.md
Created May 24, 2019 — forked from lopspower/README.md
Hexadecimal color code for transparency
View README.md

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

View main.dart
// Allan Nava snippet code
import 'dart:math' as math;
void main() {
var value = toBits(3039003383);
print(value);
}
///
static double toBits(int bits) {
@Allan-Nava
Allan-Nava / README.md
Created Mar 27, 2018 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods
View README.md

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
You can’t perform that action at this time.