atom-g3ck-snippets

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i atom-g3ck-snippets

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.4 kB

Total Files

11

Last publish

Collaborators

  • g3ck