A collection of code snippets for Your web projects, including code for HTML, CSS, JavaScript, jQuery, PHP and .htaccess.
https://github.com/g3ck/atom-g3ck-snippets.git
https://www.npmjs.com/package/atom-g3ck-snippets
Download the package, unzip and copy to your ~/.atom/packages
folder
-
afterClear
- clear both after -
backgroundImage
- full size background image -
borderRadius
- border radius -
boxShadow
- box shadow -
rgbaBlack
- rgba color [black] -
rgbaWhite
- rgba color [white] -
fixedFull
- full screen fixed layer -
rotate
- transform: rotate -
transition
- transition effect
-
inputText
- input text -
inputTextAdvanced
- advanced input text -
cssFile
- include css file -
jsFile
- include js file -
html5Structure
- HTML5 code structure
-
hideElement
- hide element -
onClick
- on element click -
onScroll
- on window scroll -
scrollToElement
- smooth scroll to element -
showElement
- show element -
each
- each loop -
ajax
- ajax query
-
onClickPure
- on element click -
stringReplace
- string replace
-
printPre
- print array in pre -
stringReplace
- string replace -
fileExists
- if file exists