This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="theme-green"> | |
<div class="a">A</div> | |
<div class="b">B</div> | |
</section> | |
<section class="theme-red"> | |
<div class="a">A</div> | |
<div class="b">B</div> | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="a">kuku</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface MessageFactory | |
{ | |
/** | |
* @return \Nette\Mail\Message | |
*/ | |
public function create(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
namespace App\FrontModule\Components; | |
use Nette\Application\UI, | |
Nette, | |
App, | |
Cardbook; | |
class Vote extends UI\Control |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$curl = curl_init('http://www.livescore.com/soccer/england/'); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); | |
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10'); | |
$html = curl_exec($curl); | |
curl_close($curl); | |
if (!$html) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="">ODKAZ</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sizes: ( | |
xxs: .2cm, | |
xs: .4cm, | |
s: .6cm, | |
m: .7cm, | |
l: .8cm, | |
); | |
@each $s, $h in $sizes | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// _mixins.scss | |
@mixin module($color: grey, $duration: 0s, $border: null) { | |
color: $color; | |
transition: $duration; | |
border: $border; | |
} | |
// _component.scss | |
.element { | |
@include module(( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$placeholders: '-webkit-input-placeholder', | |
'-moz-placeholder', | |
'-ms-input-placeholder'; | |
@mixin placeholder { | |
@each $placeholder in $placeholders { | |
@if $placeholder == "-webkit-input-placeholder" { | |
&::#{$placeholder} { | |
@content; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
/*! 1 zpusob pres lists a funkci nth */ | |
$flash_types: (success #d4ffd4), (error #ffd5d1); | |
@each $flash_def in $flash_types { |