Skip to content

Instantly share code, notes, and snippets.

@ktokot
ktokot / c-1-3-1.markdown
Last active July 21, 2020 10:45
c.1.3.1

c.1.3.1

@ktokot
ktokot / dabblet.css
Last active January 3, 2021 16:42 — forked from chriscoyier/dabblet.css
Ratings Stars
/*
Ratings Stars
(with as little code as possible)
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
}
.rating > span {
@ktokot
ktokot / dabblet.css
Last active January 3, 2021 18:30
half-star rating with css & SVG
/**
* half-star rating with css & SVG
*/
.stars {
height: 4rem;
width: 20rem;
@ktokot
ktokot / css-star-rating-using-bem-font-awesome.markdown
Created January 6, 2021 20:34
CSS Star rating using BEM & Font awesome
@ktokot
ktokot / unstarrr4.png
Created January 9, 2021 12:07
hal-star rating
‎‎​
@ktokot
ktokot / ymaps.js
Created January 20, 2021 10:46
code for yandex maps
ymaps.ready(function () {
var myMap = new ymaps.Map('map', {
center: [55.751574, 37.573856],
zoom: 9
}, {
searchControlProvider: 'yandex#search'
}),
// Создаём макет содержимого.
MyIconContentLayout = ymaps.templateLayoutFactory.createClass(
/**
* Реализуйте функцию sendPassword (Peerson hashing8)
* sendPassword('stalker72') => 20
* sendPassword('118') => -1
*
*
*/
function sendPassword(password) {
if (password.length < 8) {
@ktokot
ktokot / dabblet.css
Last active February 17, 2021 10:50
Cards
/**
* Cards
*/
body {
background-color: #000;
}
.card {
vertical-align:top;
background-color: #fff;
border-radius: 10px;
@ktokot
ktokot / dabblet.css
Last active February 17, 2021 16:24
Untitled
.ios-toggle {
box-sizing: border-box;
display: inline-block;
font-size: 15px;
width: 15em;
}
.ios-toggle input,