1.0.2 • Published 4 years ago

atom-g3ck-snippets v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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 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

HTML

  • inputText - input text
  • inputTextAdvanced - advanced input text
  • cssFile - include css file
  • jsFile - include js file
  • html5Structure - HTML5 code structure

JQUERY

  • 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

JS

  • onClickPure - on element click
  • stringReplace - string replace

PHP

  • printPre - print array in pre
  • stringReplace - string replace
  • fileExists - if file exists