Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Vladislav Kaufman faforty

🎯
Focusing
  • Accessible World Inc.
  • USA
Block or report user

Report or block faforty

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Enter Animate
.enter {
transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
animation-duration: 0.3s;
animation-name: mdp-animation-bounce;
}
View Route.js
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
mode: 'hash',
routes: [{
name: 'home',
path: '',
View dropdown.js
<template>
<div :class="{ 'ui-dropdown': true, 'ui-dropdown--open': opened}">
<div class="ui-dropdown__content">
<div style="cursor: pointer;z-index: 2;position: relative;" @click="open">
<slot></slot>
</div>
<div :class="{ 'ui-dropdown__overlay': true, 'ui-dropdown__overlay--list': true, 'ui-animation-zoom enter': opened }">
<slot name="list"></slot>
</div>
</div>
View webpack.config.js
var webpack = require('webpack'),
path = require('path'),
progressBarPlugin = require('progress-bar-webpack-plugin'),
ExtractTextPlugin = require('extract-text-webpack-plugin');
const FgYellow = '\x1b[33m'
console.log(FgYellow, 'Run build uiKit...')
var extractCSS = new ExtractTextPlugin('/css/uiKit.css');
View ui-input-group
<div class="form-group">
<div class="ui-input-group">
<input type="text" class="form-control">
<div class="ui-input-group__btn ui-input-group__btn--right">
<div class="text-color--gray ui-input-group__btn__hight">кг</div>
</div>
</div>
</div>
You can’t perform that action at this time.