Skip to content

Instantly share code, notes, and snippets.

View crisdux's full-sized avatar
🏠
Working from home

cris.dux crisdux

🏠
Working from home
View GitHub Profile
@crisdux
crisdux / hex-alpha.md
Created March 22, 2022 17:53
03. Agregar alpha a colores hex

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

@crisdux
crisdux / mark.css
Created March 12, 2022 23:01
02. mark-style
mark{
font-weight: bold;
border-radius:5px;
background-color: #FFCF87;
padding:2px 8px;
}
@crisdux
crisdux / details-summary.css
Last active March 12, 2022 22:48
01. details-summary-styles
details{
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
padding: 1em 1em ;
border-radius: 5px;
}
summary {
font-weight: bold;
cursor: pointer;
margin: -1em -.5em 0;