background preloader

Css

Facebook Twitter

Multiple.js. Pavilion | Documentation. Getting started First of all, thanks for checking out Pavilion! Now let’s get you started. Here are four options to include Pavilion in your project. Download npm install pavilion Bower bower install pavilion Pavilion source files When installing Pavilion with NPM, Bower or the source download, the following structure is delivered. pavilion/ ├── dist/ │ ├── pavilion.css │ ├── pavilion.min.css │ ├── pavilion.min.css.map ├── demo/ │ ├── demo project files ├── scss/ │ ├── pavilion.scss │ └── parts/ │ ├── _base.scss │ ├── _buttons.scss │ ├── _flexbox.scss │ ├── _forms.scss │ ├── _grid.scss │ ├── _helpers.scss │ ├── _lists.scss │ ├── _mixins.scss │ ├── _normalize.scss │ ├── _tables.scss │ ├── _typography.scss │ └── _variables.scss ├── README.md ├── CHANGELOG.md ├── license ├── gruntfile.js └── package.json Breakpoints Pavilion’s grid system works with four breakpoints which break between common device screen widths: The breakpoint classes are derived from their respective devices and orientations.

<! Family.scss. Tridiv | CSS 3D Editor. Filter Blend - CSS blend modes and filters playground. Chewing-grid - A CSS Grid ideal for card listing design. A CSS Grid ideal for card listing design like tiles, videos or articles listing. No media queries, yet chewing-grid will adjust the number of columns depending on the available width and your settings regarding: the maximum number of columns the minim and maximum card width chewing-grid provides atomic classes ready to use in your HTML (1 to 12 columns and widths in 50px intervals). You can also use it with Sass to generate your own classes, or even to build a custom semantic grid. Live demo Change the settings and use the right bar to resize the demonstration. Go further chewing-grid provides atomic classes ready to use in your HTML (1 to 12 columns and widths in 50px intervals). License The chewing-grid is released under MIT license, so you can use, copy and modify the software however you want.

About the author My name is Thomas ZILLIOX. Cohesive Colors | A tool for creating more cohesive color schemes. Video - Animated Intro Section | CodyHouse. CSS mix-blend-mode property. Jets.js. Hint.css - A tooltip library in CSS. jQuery AniView. Placeholder Polyfill with Password Support. I use input placeholders in two ways: (1) as labels in simple forms that have just a few input fields and (2) as tips or suggestions in complex forms: The problem with placeholders is that the feature is not supported in IE 9 and below. This is a huge pain if you use placeholders as labels… JavaScript polyfill ​I have written a tiny jQuery-dependent plugin which enables placeholders in browsers that do not support the technology: Basic usage example: Or you can target input fields by a specific selector: The plugin takes care of textareas and text-oriented inputs, including password type.

How the plugin works? What is the is-placeholder class name for? Secondly, it‘s for managing the input via JavaScript. If you need, you can have a custom class name: But… what about browsers that do not support placeholders and has JavaScript disabled? CSS fallback CSS fallback as a complement to JavaScript polyfill Unlike in JavaScript part, it is impossible to do placeholders feature detection in CSS. Demo.

The future of layout with CSS: Grid Layouts. In this article we'll take a look at the wonderful world of the CSS Grid Layout, a relatively new W3C specification that has partially started to see the day in some browsers. But before we dive into what this new CSS technique is all about and how to use it, let's quickly review grid theory. My really short introduction to grid theory I am not a designer nor did I know much about grid theory before stumbling upon the CSS Grid Layout specification, so don't take my word for it and go look it up yourself, but if you don't care to, here's my pitch about it: In essence, a grid is a set of invisible vertical and horizontal lines that the various design and content pieces of a web page, magazine or newspaper are positioned on.The goal of a grid is to serve as a base for placing the various pieces of content and to make sure these pieces are aligned and spaced out evenly.A grid, even if not visible, provides the viewer with a way to navigate content visually.

So what has CSS got to do with it? Messg. SmarterImages Demo. Discreet Twitter UI. Agile Css3 Engine. CSS3 Transition. As stated in the introductive paragraphs, the new CSS3 transition property allows to change smoothly CSS properties from one value to another.Basically a transition is an animation between only two states. Basic syntax To run a transition we have to specify the following four CSS3 properties: If you love the synthesis (and you do if you are a web developer), all these informations could be merged in a single declaration: transition: property || duration || timing-function || delay, [ property || duration || timing-function || delay ] As first example, I will show something of really basilar (I promise, the next will be more exciting): The previous circles differ only for the fact that the second one has also as css class transition. Even more shorter?

Now that we have the basic knowledge, it's time to go deeper and discover what we can do with the transition property. Compatibility with mobile devices Related resource W3C CSS Transition Working Draft. Share Hello, I'm Bruno Scopelliti. Flexbox in 5 minutes. What The FlexBox?! CSS Scroll Snap Full page demo (pure HTML/CSS) Bootstrap Vertical Menu. Container Queries: Once More Unto the Breach. We’re a perseverant crew, the RICG. Responsive images were dead and buried forever in particularly dramatic fashion—what—two, three times there? “Dead and buried forever” refused to stick, though, thanks to all of you. Every time responsive images were knocked down, they got up a little stronger than before. Article Continues Below It isn’t hard to see why the going was so tough. After all that hard-won progress, there was no sense in packing up our GitHub organization and going home.

The trouble with media queries#section1 Styling a module meant to occupy multiple containers with viewport-based media queries means scoping that module’s styles to all the containers that it might occupy. The ideal responsive website is a system of flexible, modular components that can be repurposed to serve in multiple contexts. It’s a pretty simple design. Now that we have the page layout squared away, we can focus on the layout of the individual modules. Here’s how those styles play out in a real page. 2 Blocks Template. Index. iHover is an impressive hover effects collection, powered by pure CSS3, no dependency, work well with Bootstrap 3! Hover effect 1 <div class="row"><div class="col-sm-6"><! -- normal --><div class="ih-item circle effect1"><a href="#"><div class="spinner"></div><div class="img"><img src="images/assets/2.jpg" alt="img"></div><div class="info"><div class="info-back"><h3>Heading here</h3><p>Description goes here</p></div></div></a></div><!

-- end normal --></div><div class="col-sm-6"><! -- colored --><div class="ih-item circle colored effect1"><a href="#"><div class="spinner"></div><div class="img"><img src="images/assets/5.jpg" alt="img"></div><div class="info"><div class="info-back"><h3>Heading here</h3><p>Description goes here</p></div></div></a></div><! -- end colored --></div></div> Hover effect 2 <! Hover effect 3 <! Hover effect 4 <! Hover effect 5 <div class="row"><div class="col-sm-6"><! Hover effect 6 <! Hover effect 7 <! Hover effect 8 <! Hover effect 9 <! Hover effect 10 <div class="bs-example"><! <! <! ALL ANIMATION CSS3. A Visual Guide to CSS3 Flexbox Properties | Scotch.

The Flexbox Layout officially called CSS Flexible Box Layout Module is new layout module in CSS3 made to improve the items align, directions and order in the container even when they are with dynamic or even unknown size. The prime characteristic of the flex container is the ability to modify the width or height of its children to fill the available space in the best possible way on different screen sizes. Many designers and developers find this flexbox layout easier to use, as positioning of the elements is simpler thus more complex layouts can be achieved with less code, leading to simpler development process.

Flexbox layout algorithm is direction based unlike the block or inline layout which are vertically and horizontally based. This flexbox layout should be used for small application components, while new CSS Grid Layout Module is emerging to handle the large scale layouts. Basics The browser support for the latest flexbox specification is: Usage Flexbox container properties Values: flex. 3D Bold Navigation in CSS and jQuery. A bold navigation that slides in when active, replacing the current content in a 3D space. Browser support ie Chrome Firefox Safari Opera 9+ Today’s resource is a strong approach to showing a website navigation. Bear in mind, though, it doesn’t have to be the “main” navigation.

You could have, for example, a product gallery and you’d like to create a smooth transition while switching from one product category to the other. To increase the focus on the menu, we pushed the main content along the z-axis (by using CSS transformations we actually scale down the content size, we don’t use 3D translations, but the result is the same). The interesting bit: when you select a new category, we switch the content in the background, then move it back to the original position, hiding the navigation. Now let’s dive into the code! Inpiration: chulakov.com. The icons used in the demo are from our Nucleo icons application. Creating the structure Adding style Events handling. Harnessing Flexbox For Today's Web Apps. Advertisement Although the syntax might be initially confounding, flexbox1 lives up to its name.

It creates intelligent boxes that are stretchable, squeezable and capable of changing visual order. It provides simple solutions to layout paradigms that CSS has always struggled with: vertical centering and equal heights. Flex items are truly accommodating and a pleasure to work with. Chris Coyier sums up flexbox2 nicely: The Flexbox Layout (Flexible Box) module (currently a W3C Last Call Working Draft) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word “flex”).The main idea behind the flex layout is to give the container the ability to alter its items’ width/height (and order) to best fill the available space (mostly to accommodate to all kind of display devices and screen sizes).

A flex container expands items to fill available free space, or shrinks them to prevent overflow. Flexbox in 5 minutes. Experiment: Using Flexbox Today - Chris Wright. - 16 min read Flexbox adds a level of control to our layouts that we didn't really have before, we hacked our floats and clearfixed, we fought whitespace with inline-block, pushed display:table, and even stretched content with position:absolute. We no longer need to rely on these solutions beyond providing something visual to browsers without flex features.

Flex's features will add an important set of tools to how we build, not by replacing what was there before, but improving upon how we build today. The major challenge that I see with Flexbox is that there's a distinct gap between what we build today and how we'll approach tomorrow. The prevailing attitude seems to be “Not for another x years”, or “we'll wait for X browser to catch up”, but we don't need to think like this anymore.

I don't blame people for finding Flexbox difficult to grasp. TLDR; version I recognize this experiment write up is super long, so here's a shortcut if you don't have much time: Road to Flexbox Card Layouts. CSS Contact Form. A simple and easy to customize contact form. Browser support ie Chrome Firefox Safari Opera 9+ We have been receiving lots of requests about adding a contact form to our library. Here it is! A minimal and customizable snippet to throw a semantic form into your web projects on the fly. There are some optional features (i.e. floating labels) that can be easily removed in case you want the form to be simpler. All icons are from our Nucleo project. Let’s dive into the code! Creating the structure Having the HTML structure of a standard form in your pocket is already a way to save time, isn’t it?

Here is the html structure. Adding style The CSS is divided in 3 parts: 1) Form, 2) Custom icons and 3) Floating labels. How to add a custom icon: you need to add a class to the element (input/select/textarea) that you want to stylize with the icon (i.e. class .user to the first input element). Floating labels are activated through the .floating-labels class added to the .cd-form element. Events handling. Rotated Gallery.

Clocks - CSS Animation. It’s about time. In this article we’ll take on the challenge of creating and animating a clock, using simple CSS animations as well as JavaScript to trigger them. This is the clock we’ll create using HTML, CSS, an SVG background and a little JavaScript. We’ll use CSS animations or transitions for any movement, and rely on JavaScript to set the initial time and adding basic CSS transforms. To get started we’ll need some HTML. My initial approach was to use three elements for each of the hands. Clock face We’ll begin with a basic clock design has a round face, with simple hours, minutes and seconds hands. You can get the SVG background here. We should now have something like this.

Before adding the hands, we need to place the containers. This stacks each container on top of the clock. Hour hand Each hand is given the position property of absolute and placed in the twelve o'clock position. I’m using percentages to make scaling the clocks easier. Minute hand Second hand Animation Adding steps. Animatr. Animatr is a jQuery plugin that allows you to create CSS3 animations using only HTML5 data-attributes. Lay out your animation steps by time (in seconds), percentages, or both. No more @keyframes or browser prefixing Run multiple animations simultaneously in one element Animatr's data-attributes style, and name, are inspired by the wonderful Skrollr. It requires jQuery-Keyframes and PrefixFree. These are packaged in the minified version. Quick Start Go to Github and download the minified source from /dist/.

<script src=" src="path/to/animatr.min.js"></script><script> $(function() { $.animatr(); }); </script> Then to animate an object, you just need to use attributes of the form: data-t-<seconds>. Creating an animation timeline You can add as many animation stages as you want, and specify stages in seconds, or with percentages, or mix the two. Animation Settings The current defaults are: By default the animation plays once. Keyframes. Subtle Click Feedback Effects. A set of subtle effects for click or touch interactions inspired by the visualization of screen taps in mobile app showcases.

The effects are done with CSS animations mostly on pseudo-elements. View demo Download source Recently, many cool interaction effects have been created that follow Google Material Design principles somehow. One of the great little effects seen around is the ripple click effect, also called click waves. While these effects are based on the place you click or touch, the whole idea of providing a subtle feedback effect is really interesting. Today we’d like to explore some of these click/touch effects, using different animations. Please note that some of the effects are highly experimental and therefore only work in modern browsers. IE10 does not seem to support animationend on pseudo-elements, so you won’t see the effects working correctly there. For the demo we are using icons by Font Awesome and we trigger the effect on a button: Here is a GIF of one of the effects: Image Zoom Effect Using CSS3.

Transformicons Builder. Getting Bootstrap Tabs to Play Nice with Masonry. Compositing And Blending In CSS. Image Animation with A Single Img, CSS3 & some jQuery. 3D Curtain Template in CSS and jQuery. Rotating Words using CSS3 Animation Effects | Codelator. Documentation - Materialize.

3D Card Previewer - webdesigncrowd.com. Sliding Header Layout. Recreating the Firewatch Parallax Effect. Chris Wright - Experiment: Flexbox Adventures. Material UI | Material UI Colors. CSS Animated Headlines. 3D Rotating Navigation in CSS and jQuery. Elastic stroke CSS + SVG. Rupl/unfold. Unfolding the Box Model: Exploring CSS 3D Transforms. Simple things: styling ordered lists. CSS and jQuery Points of interest. Ungrid - the simplest responsive css grid. 4.5. Creating templates like a professional (HTML and CSS) Tooltip Styles Inspiration.

Bouncy transitions - learnsome.co. Hover Effect Ideas. Inspiration for Inline Anchor Styles. Parallax rolling. Styling with STRINGS. An analogue clock using only CSS. Font Awesome, the iconic font designed for Bootstrap. BackgroundCheck. Kindling (Grid) Inline SVG vs Icon Fonts [CAGEMATCH] Adding touch gestures and mouse controls to a 3D CSS cube. 12 Little-Known CSS Facts. CSS Vocabulary. Effeckt.css. Shapes | Web Platform Team Blog. Determining breakpoints for a responsive design | Web design. Ish. yet another viewport resizer. Interaction ProTip #4: Nobody Expects 3D. Documentation: Slideshow - Vegas Background jQuery Plugin.

Prepros

Choosing great variable names. Dotted Background Generator. Animated Border Menus. Absolute Horizontal And Vertical Centering In CSS. How to Center Horizontally a Position Fixed Element with CSS? Perfect Full Page Background Image.