Skip to content

Instantly share code, notes, and snippets.

Arun M ArunHub

View GitHub Profile
View try.txt
### css
1.eyes rolling exercies on css
2.float left float none
View misc.txt
bookmarks drafts
CSS tricks posts videos
khan academy maths science
codecademy Jekyll
View productive.txt
5 ted talks that are instant confidence boost
  1. no wrap row column for breadcrumb
  2. content body has id=content and all contents of body exluding breadcrumbs
  3. account pages buttons class which pull right.. have to change that
  4. do account pages sidebar with anchor link only not list type
ArunHub / chrome.bat
Created Mar 29, 2019
Disable same origin policy in Chrome
View chrome.bat
Run below command by pressing (Windows key + R key)
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
View Center-div-inside-div-positioning-absolute-relative.css
<span class="screw"></span>
.screw {
position: absolute;
left: 50%;
width: 20px;
height: 20px;
background: #333 none repeat scroll 0% 0%;
border-radius: 50%;
border: 1px solid #ccc;
text-align: center;
ArunHub / BoxWithBackgroundImageAndHeadingbottomtopleftright.txt
Last active Mar 29, 2019
sprite in center in top and heading in bottom
View BoxWithBackgroundImageAndHeadingbottomtopleftright.txt
<a href="javascript:void" class="tpa">
<img src="images/technical.jpg" class="img-responsive">
<h3>Technical Information</h3>
.tpa {
ArunHub / sassfile.txt
Created Mar 28, 2019
sass imports in gulp problem
View sassfile.txt
Right now if any of my sass files have an @import in them I get an error like this:
throw er; // Unhandled stream error in pipe.
source string:1: error: file to import not found or unreadable: 'normalize'
ArunHub / togglemoreless.js
Created Mar 27, 2019
toggle icons for more/less or advanced filter
View togglemoreless.js
function() {
$(this).hasClass("active") ?
$(".fresh-widgets .icon-question").show(),
$(".fresh-widgets .icon-cross").hide())
$(".fresh-widgets .icon-question").hide(),
$(".fresh-widgets .icon-cross").show())
View css-extract.js
function css(el) {
var sheets = document.styleSheets, ret = [];
el.matches = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector
|| el.msMatchesSelector || el.oMatchesSelector;
for (var i in sheets) {
You can’t perform that action at this time.