Skip to content

Instantly share code, notes, and snippets.

View dhananjay431's full-sized avatar
🎯
Focusing

dbel431 dhananjay431

🎯
Focusing
View GitHub Profile
@dhananjay431
dhananjay431 / index.html
Created December 24, 2024 13:42
Rotate DIV using a range slider
<p>Rotate the yellow div element:</p>
<div id="div1">HELLO</div>
Rotate: <br>
<input type="range" min="-360" max="360" value="7" oninput="rotate(this.value)" onchange="rotate(this.value)" /><br>
transform: rotate(<span id="span1">7deg</span>);
@dhananjay431
dhananjay431 / index.html
Created December 24, 2024 13:05
Rotate DIV using a range slider
<p>Rotate the yellow div element:</p>
<div id="div1">HELLO</div>
Rotate: <br>
<input type="range" min="-360" max="360" value="7" oninput="rotate(this.value)" onchange="rotate(this.value)" /><br>
transform: rotate(<span id="span1">7deg</span>);
@dhananjay431
dhananjay431 / index.pug
Created December 9, 2024 15:25
Simple JSON viewer
.target
@dhananjay431
dhananjay431 / amazing-sparks-mouse-effect.markdown
Created October 2, 2024 16:35
Amazing Sparks Mouse Effect

Amazing Sparks Mouse Effect

Interactive mouse effect generating sparks with physically realistic behavior. Made with jQuery.

A Pen by Nazar Kyselov on CodePen.

License.

@dhananjay431
dhananjay431 / index.html
Created September 20, 2023 05:30
Pro Sidebar template
<div class="layout has-sidebar fixed-sidebar fixed-header">
<aside id="sidebar" class="sidebar break-point-sm has-bg-image">
<a id="btn-collapse" class="sidebar-collapser"><i class="ri-arrow-left-s-line"></i></a>
<div class="image-wrapper">
<img src="assets/images/sidebar-bg.jpg" alt="sidebar background" />
</div>
<div class="sidebar-layout">
<div class="sidebar-header">
<div class="pro-sidebar-logo">
<div>P</div>
@dhananjay431
dhananjay431 / input.scss
Created June 18, 2023 06:41
Generated by SassMeister.com.
$test:(
"m":margin,
"p":padding
);
$test2:(
"t":top,
"b":bottom,
"l":left,
"r":right);
$mp:(
@dhananjay431
dhananjay431 / input.scss
Created June 18, 2023 06:39
Generated by SassMeister.com.
$test:(
"m":margin,
"p":padding
);
$test2:(
"t":top,
"b":bottom,
"l":left,
"r":right);
$mp:(
@dhananjay431
dhananjay431 / input.scss
Created March 10, 2022 12:09
Generated by SassMeister.com.
$tbl_name:tbl_1;
$tbl_head_bg_color:#1b47c5;
$fix_length: 4;
.#{$tbl_name}_table .#{$tbl_name}_tbody .#{$tbl_name}_th {
position: relative;
}
@for $i from 0 through $fix_length - 1 {
.#{$tbl_name}_table .#{$tbl_name}_thead .#{$tbl_name}_th:nth-child(#{$i + 1}) {
@dhananjay431
dhananjay431 / input.scss
Created March 10, 2022 11:58
Generated by SassMeister.com.
$tbl_name:tbl_1;
$tbl_head_bg_color:#1b47c5;
$fix_length: 4;
.#{$tbl_name}_table .#{$tbl_name}_thead .#{$tbl_name}_th:nth-child(1) {
position: sticky;
left: 0;
z-index: 2;
background-color: $tbl_head_bg_color !important;
}
@dhananjay431
dhananjay431 / impLink.html
Last active January 12, 2022 06:22
impLink