A collection of code snippets for Your web projects, including code for HTML, CSS, JavaScript, jQuery, PHP and .htaccess.
Download the package, unzip and copy to your ~/.atom/packages
folder
afterClear
- clear both afterbackgroundImage
- full size background imageborderRadius
- border radiusboxShadow
- box shadowrgbaBlack
- rgba color [black]rgbaWhite
- rgba color [white]fixedFull
- full screen fixed layerrotate
- transform: rotatetransition
- transition effect
inputText
- input textinputTextAdvanced
- advanced input textinputSelect
- input selectcssFile
- include css filejsFile
- include js filehtml5Structure
- HTML5 code structuresvgRatio
- svg preserve aspect ratio
thisone
- thisonehideElement
- hide elementonClick
- on element clickonScroll
- on window scrollscrollToElement
- smooth scroll to elementshowElement
- show elementeach
- each loopajax
- ajax querydocumentReady
- document ready
onClickPure
- on element clickstringReplace
- string replacepreventDefault
- prevent defaultscrollToTop
- scroll to top
printPre
- print array in prestringReplace
- string replacefileExists
- if file existsstringContains
- if string containsfilesInFolder
- get files in folder
sqlStr
- SQL StringsqlGet
- SQL GetsqlInsert
- SQL Insertsession
- SessionsessionTemp
- Session temp