top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Article Updates

Facebook Login
Site Registration
Print Preview

Small Overview about DynCss?

0 votes
80 views

What is DynCSS?

DynCSS is a small Javascript add-on for your web pages. It parses your CSS and converts all the rules with prefix -dyn-* into dynamic Javascript that is executed on browser's events like scroll and resize 

A JavaScript library for changing colors (colors AND images) insinde CSS files on-the-fly

You can make dynamic any CSS property — provided that it is writable by jQuery's .css() method. You do this by appending the -dyn- prefix and specifying a quoted Javascript expression.

You can use placeholders to access dynamic information about the document; 

Here's a list of built-in placeholders you can use:
Prefixes    Description
@win-foo    dynamically evaluates window.foo()
@el-foo    dynamically evaluates $(current-selector).css(foo)
@jq-foo    dynamically evaluates $(current-selector).foo()

Example:

Following CSS will center vertically .header, dynamically changing margin-top as the window is resized:

.header {
 -dyn-margin-top: '(@win-height - @el-height)/2.0';
}

For more examples visit here - https://modernweb.com/dynamic-css-with-dyncss/ 

posted Apr 6 by Manish Tiwari

  Promote This Article
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button


Related Articles

What is AmCharts?

amCharts is a company based in Vilnius, Lithuania. The beginning of amCharts and amMap was in 2004, when the first version of amMap was made. Antanas Marcelionis worked as a manager in a web development company and, being a fan of maps and traveling, wanted to have a tool which would work like a pin-map for him.

Easily add charting capabilities to your websites and applications. Compatible with all modern and most legacy browsers (yes even IE7), JavaScript Charts allows creating flexible Pie, Column, Line, and number of other chart types.


Features

  • Advanced serial charts
  • Superior time-based scales
  • Micro-charts and sparklines
  • Responsive
  • Mobile Friendly
  • Accessible

Video for amCharts 

https://www.youtube.com/watch?v=7RmwtoiEWkw

READ MORE

What is MemcacheDB ?

MemcacheDB is a distributed key-value storage system designed for persistent. It is NOT a cache solution, but a persistent storage engine for fast and reliable key-value based object storage and retrieval. It conforms to memcache protocol(not completed, see below), so any memcached client can have connectivity with it. MemcacheDB uses Berkeley DB as a storing backend, so lots of features including transaction and replication are supported.

Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.

MemcacheDB is compatible with memcache protocol, so any clients that support memcache protocol have connectivity with it.

MemcacheDB  Commands  supports:

  • get(also mutiple get)
  • set, add, replace
  • append/prepend
  • incr, decr
  • delete
  • stats

A version of MemcacheDB using Lightning Memory-Mapped Database (LMDB) is also available, offering greater performance. MemcacheDB is accessed through the same protocol as memcached, so applications may use any memcached API as a means of accessing a MemcacheDB database.

MemcacheQ is a MemcacheDB variant that provides a simple message queue service.

Video for Memcache DB

https://www.youtube.com/watch?v=1u3Y7qB9ACM​

READ MORE

What is Scylla?

Scylla is an open-source distributed NoSQL data store. It was designed to be compatible with Apache Cassandra while achieving significantly higher throughputs and lower latencies. It supports the same protocols as Cassandra (CQL and Thrift) and the same file formats (SSTable), but is a completely rewritten implementation, using the C++14 language replacing Cassandra's Java, and the Seastar asynchronous programming library replacing threads, shared memory, mapped files, and other classic Linux programming techniques.

Scylla uses a shared design on each node, meaning that each CPU core handles a different subset of data. Cores do not share data, but rather communicate explicitly when they need to. The Scylla authors claim that this design allows Scylla to achieve much better performance on modern NUMA SMP machines, and to scale very well with the number of cores. They have measured as much as 2 million requests per second on a single machine, and also claim that a Scylla cluster can serve as many requests as a Cassandra cluster 10 times its size - and do so with lower latencies.

Benefits

  • Low and Consistent Latency
  • Always-On Availability
  • 10x Higher Throughput
  • Highly Scalable
  • Easy to Use
  • Community Backed
  • Compaction, Streaming and Repair Solved
  • Optimum Total Cost of Ownership
  • Auto Tuning

Video for Scylla 

https://www.youtube.com/watch?v=URTyQIsXkJs

READ MORE

What is Koa.Js?

Koa.js is a JavaScript web application framework that's brought some pretty important changes to the development of middleware—a key layer of software in web applications that keeps everything in a network linked and running smoothly.

Koa.js is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. It is an open source framework developed and maintained by the creaters of Express.js, the most popular node web framework.

npm install koa

Koa provides a Request object as the request property of the Context.
Koa's Request object provides helpful methods for working with http requests which delegate to an IncomingMessage from the node http module.

Video for Koa.JS

https://www.youtube.com/watch?v=z6ihthEwXDk​
READ MORE

What is Argon.Js?

Argon.js is a javascript framework for adding augmented reality content to web applications

Augmented reality (AR) is the idea of mixing computer-generated media (e.g., 3D objects, 2D content, spatialized audio) with someone’s view of the real world. Whether you want to create a new AR application, or add an AR view to an existing web application, the argon.js framework provides a set of abstractions and utilities for adding an AR view to your web application in a platform- and technology-independent way.

Argon.js was originally designed to take advantage of the augmented reality capabilities of the Argon AR-enabled web browser on iOS, simplifying the process of delivering mobile AR experiences without the need to create, ship and support native applications.

However, argon.js will also work with other web browsers, taking advantage of their capabilities to allow your application to deliver whatever kind of AR experience each browser is capable of. While the AR capabilities a most web browsers is currently minimal, they are improving rapidly, and argon.js is designed to support this evolution.

Npm Command

npm install @argonjs/argon@^1.0

Video for Argon.Js

https://www.youtube.com/watch?v=F_M8C2jW8PI​

READ MORE

What is Slick?

Slick is a fresh new jQuery plugin for creating fully customizable, responsive and mobile friendly carousels/sliders that work with any html elements.

Features:

  • Fully responsive. Scales with its container.
  • Separate settings per breakpoint
  • Uses CSS3 when available. Fully functional when not.
  • Swipe enabled. Or disabled, if you prefer.
  • Desktop mouse dragging
  • Infinite looping.
  • Fully accessible with arrow key navigation
  • Add, remove, filter & unfilter slides
  • Autoplay, dots, arrows, callbacks, etc...


# Bower

bower install --save slick-carousel

# NPM

npm install slick-carousel

In slick 1.5 you can now add settings using the data-slick attribute. You still need to call $(element).slick() to initialize slick on the element.

Example

<div data-slick='{"slidesToShow": 4, "slidesToScroll": 4}'>
  <div><h3>1</h3></div>
  <div><h3>2</h3></div>
  <div><h3>3</h3></div>
  <div><h3>4</h3></div>
  <div><h3>5</h3></div>
  <div><h3>6</h3></div>
</div>​

Video for Slick Slider
https://www.youtube.com/watch?v=c9pID1dWON4

READ MORE

What is AR.js?

AR.js is a solution for efficiently doing augmented reality on the web.

Very Fast: It runs efficiently even on mobile phones, 60 fps on my 2 year-old phone
Web-based: It is a pure web solution, so no installation required. Full javascript based on three.js + jsartoolkit5
Open Source: It is completely open source and free of charge
Standards: It works on any phone with webgl and webrtc

The goal is to make it easy for people to do augmented reality; AR that can be easily experienced on today’s phones and easily designed using web technology. The AR.js project is about enabling those people. So now, anybody with a modern phone can enjoy open-source AR, free of charge, cross-platform and without installation.

AR.js is fast. This is the first time that we have an open-source web-based solution capable of doing 60fps on currently deployed phones.

Suddenly, most people have a phone capable of doing AR without installation. This was not possible before. You don’t have to wait for everybody to buy AR-enabled devices (such as Tango, Moverio…etc.) 

AR.js would not have been possible without some inspiring projects that came before. It is thanks to the hard work of others, that we can today reach 60 frames per second AR. 

These projects helped make it possible:

  • Three.js is a great library for creating 3d graphics on the web
  • ARToolKit has been in development for years for augmented reality
  • emscripten and asm.js allowed us to compile ARToolKit into JavaScript
  • Chromium helped by being very fast
Video for Ar.js
https://www.youtube.com/watch?v=0MtvjFg7tik​
READ MORE
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...