Skip to content

Instantly share code, notes, and snippets.

View laravel + tailwind
php artisan vendor:publish --tag=jetstream-views
@kadsyy
kadsyy / horizontal-center-absolute.css
Created Jan 13, 2021
horizontal center position absolute
View horizontal-center-absolute.css
.center {
left: 50%;
transform: translateX(-50%);
}
View fullscreen-width.css
.full-width {
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}
@kadsyy
kadsyy / .scss
Created Oct 24, 2017
bootstrap 3 table-borderless scss
View .scss
.table {
&.table-borderless td,
&.table-borderless th {
border: 0;
}
}
View middle_border.css
&:after {
content : "";
height : 4px;
width : 30px;
margin: 0 auto;
display: block;
background: #888;
border-radius: 4px;
}
@kadsyy
kadsyy / 0_reuse_code.js
Created Aug 2, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console