Skip to content

Instantly share code, notes, and snippets.

View OdearOgy's full-sized avatar
🏠
Working from home

Hovhannes Mkhitaryan OdearOgy

🏠
Working from home
View GitHub Profile
@OdearOgy
OdearOgy / comp.jsx
Created March 25, 2017 15:08 — forked from fxfactorial/comp.jsx
Communicating between components
import React, {Component} from 'react';
import { render } from 'react-dom';
class TopBox extends Component {
render () {
const s = {backgroundColor:'red'};
const all_names = this.props.all_names.map(n => {
return (
<p>{n}</p>
@OdearOgy
OdearOgy / media-query.css
Created August 18, 2018 19:10 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@OdearOgy
OdearOgy / common-media-queries.css
Created September 13, 2018 06:56
Common Media Queries
/* This is a small sampling of the various approaches to media queries. The
point is: they're all over the board. Part of the "issue" (if you can call
it that) may be due to the intended audience of each site/framework. Another
may be that it's really difficult to test for a lot of different devices.
Regardless, it would be really nice if there was standard baseline that
could be used as a starting point for maximum compatibility and coverage. */
/* ==========================================================================
Frameworks
========================================================================== */