This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// css | |
.rating_icn i.far{font-size:28px; cursor: pointer; margin:0px 5px;} | |
.rating_icn i.far.one,.rating_icn i.far.onestar{color:#f7350ad9;} | |
.rating_icn i.far.one,.rating_icn i.far:hover{color:#f7350ad9; transform:scale(1.3); transition: 0.3s;} | |
//HTML | |
<div class='col-md-6 col-sm-6 col-lg-4 col-xl-4 mb-3'> | |
<label>Add Rating <span class='text-danger'>*</span></label> | |
<!-- <input type='number'required name='add_rate' class='form-control' id='' placeholder='eg.5'/> --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*====== CSS ======*/ | |
ul, #tree_list { list-style-type: none;} | |
#tree_list { margin: 0; padding: 0;} | |
#tree_list .box1 { cursor: pointer; | |
-webkit-user-select: none; /* Safari 3.1+ */ | |
-moz-user-select: none; /* Firefox 2+ */ | |
-ms-user-select: none; /* IE 10+ */ | |
user-select: none; } | |
#tree_list .box1::before { content: "\2610"; color: black; display: inline-block; margin-right: 6px;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// script for show icons down and up arrow onclick it | |
<script> | |
$('.downkey').click(function(){ | |
$('.downkey').addClass('d-none'); | |
$('.upkey').removeClass('d-none'); | |
}); | |
$('.upkey').click(function(){ | |
$('.upkey').addClass('d-none'); | |
$('.downkey').removeClass('d-none'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Syntax : $(“selector”).on(event, function) | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The jQuery Example</title> | |
<script src= | |
"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USING HTML & CSS | |
<div class="watermark"> Watermark text ा</div> | |
.watermark {display: inline; position: fixed !important; opacity: 0.25; font-size: 3em; width: 100%; text-align: center; z-index: 1000; top: 50%; right: 5px; writing-mode: horizontal-tb; } | |
// USING PHP and MPDF() | |
$mpdf = new mPDF('utf-8', 'A4-C'); | |
$mpdf->showWatermarkImage = true; | |
// $mpdf->showWatermarkText = true; | |
// $mpdf->WriteHTML('<watermarktext content="watermark text alpha="0.3" />'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HTML | |
<div class="col-md-3 col-lg-2 col-xl-2 col-sm-4 my-auto safe_village"> | |
<a href='#'>Safe Villages</a> | |
</div> | |
// CSS | |
@-webkit-keyframes fade-in{ | |
from{ opacity:1; top:0px; } | |
to{opacity:0; top:-5px; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<div class="gototop"></div> | |
.gototop { | |
transition: background 0.35s ease; | |
background-size: 100% 100% !important; | |
background-image: // set image or icon path | |
background-color: #ffffff; | |
width: 40px; | |
height: 40px; | |
bottom: 5%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.navbar-nav li a:after { | |
content: ''; | |
display: block; | |
height: 2px; | |
background: #fff; | |
-webkit-transition: all 0.4s ease; | |
transition: all 0.4s ease; | |
-webkit-transform: scale(0); | |
transform: scale(0); | |
margin-top: 4px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Font Awesome Icon Library --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<style> | |
.star-checked { | |
color: orange; | |
} | |
</style> | |
</head> | |
<body> |