1.0.2 • Published 6 years ago
atom-g3ck-snippets v1.0.2
atom-g3ck-snippets
A collection of code snippets for Your web projects, including code for HTML, CSS, JavaScript, jQuery, PHP and .htaccess.
Installation
Git
https://github.com/g3ck/atom-g3ck-snippets.git
NMP
https://www.npmjs.com/package/atom-g3ck-snippets
Manually
Download the package, unzip and copy to your ~/.atom/packages folder
Snippets
CSS
afterClear- clear both afterbackgroundImage- full size background imageborderRadius- border radiusboxShadow- box shadowrgbaBlack- rgba color blackrgbaWhite- rgba color whitefixedFull- full screen fixed layerrotate- transform: rotatetransition- transition effect
HTML
inputText- input textinputTextAdvanced- advanced input textcssFile- include css filejsFile- include js filehtml5Structure- HTML5 code structure
JQUERY
hideElement- hide elementonClick- on element clickonScroll- on window scrollscrollToElement- smooth scroll to elementshowElement- show elementeach- each loopajax- ajax query
JS
onClickPure- on element clickstringReplace- string replace
PHP
printPre- print array in prestringReplace- string replacefileExists- if file exists