Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

translucent

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

translucent

Translucent plastic card theme.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-73.33%
Maintainers
1
Weekly downloads
 
Created
Source

Translucent

Transparent plastic card - jQuery plugin.

![Title image] (https://github.com/byeolbit/byeolbit.github.io/blob/master/title.png?raw=true)

Demo : https://byeolbit.github.io/tc_demo

Update Note

Change to jQuery plugin - Jan 27 01:34

  • Prepairing for release.
  • Combine css into script.
  • Demo changed to sample. Demo site still working.
  • Now it works at Edge browser!
  • Little optimization.

Tidy - Jan 25 00:44

  • Tidy code of script.
  • Add some comments on script.
  • Updating README.md

Demo updates - Jan 24 01:38

  • [Demo] Color change buttons are added at the top of the card.
  • [Demo] Adjusting interface(still working)

Little changes - Jan 24 00:08

  • Drag & Drop works on mobile!
  • Drop shadow animation during move the card.
  • Card color preset class added. You can add color by add these classes to card-content
  • CSS code cleaning.

Little improvements - Jan 23 13:26

  • If background-attachment is 'fixed',the tracking of background become smoother.
  • Boundary limitation added on demo.
  • Now, background is free from body tag.

Usage (updating)

Dependencies

  • jQuery
  • jQuery-UI

HTML - head

<script src="jquery.ui.translucent.min.js"></script>

HTML - card dom structure

card-wrapper
    tpc-card-background-container
        tpc-card-bg
    tpc-card
        tpc-card-contents

JavaScript

$('card-wrapper id here').translucent('background id or class here',{
    filterValue : 5,     // int
    cardColor : 'clear', // preset color or your own color
    draggable : true,    // true or false
    shadow : true        // true or false
});

CSS

.tpc-card {
    /* your card width, height here */
}
.tpc-card-contents {
    /* your cumstom style here */
}

Keywords

FAQs

Package last updated on 27 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc