Skip to content

Instantly share code, notes, and snippets.

View usmangurowa's full-sized avatar
🎯
Focusing

Usman Hassan usmangurowa

🎯
Focusing
View GitHub Profile
@usmangurowa
usmangurowa / react-native-responsive.js
Created August 1, 2023 17:50
React native responsive values
import { Dimensions, PixelRatio } from 'react-native';
const { height, width } = Dimensions.get('window');
const CURRENT_RESOLUTION = Math.sqrt(height * height + width * width);
const PREDEF_RES = {
iphoneX: {
px: {
width: 1125,
@usmangurowa
usmangurowa / README.md
Created September 13, 2022 08:15 — forked from lopspower/README.md
Hexadecimal color code for transparency

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.

Download This sample on Google Play Store

@usmangurowa
usmangurowa / index.html
Created May 14, 2022 01:04
SVG Path Builder
<div
id="app"
class="ad-App">
</div>