I hereby claim:
- I am davidtrushkov on github.
- I am davidtrushkov (https://keybase.io/davidtrushkov) on keybase.
- I have a public key whose fingerprint is BEDD 7CC8 F058 929D 346B A68A 4FEA 4EEB 6A59 3BF3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<select name="state" class="form-control" onchange="$('.lawyer').removeClass('hidden').find('input').attr('autofocus',true)"> | |
<option value="">Select State</option> | |
<option>Florida</option> | |
</select> | |
<div class="lawyer hidden"> | |
<div class="input-group"> | |
<span class="input-group-addon">$</span> | |
<input name="amount" class="form-control" data-mask="000,000" data-mask-reverse="true" /> | |
</div> |
<template> | |
<div class="col-sm-12 no-padding"> | |
<div v-if="this.myOffers.length > 0"> | |
<div v-for="chunk in offerChunks"> | |
<div class="row"> | |
<div class="col-sm-4" v-for="offer in chunk"> | |
<!--- Content here ----> | |
</div> | |
</div> | |
</div> |
// The taggable database table | |
public function up() { | |
Schema::create('stateables', function (Blueprint $table) { // In this case taggables | |
$table->increments('id'); | |
$table->string('stateables_type'); // In this case taggable_type | |
$table->integer('stateables_id')->unsigned(); // In this case taggables_id | |
$table->integer('state_id')->unsigned(); // In this case tag_id | |
$table->timestamps(); | |
}); |
// HTML Part | |
<!doctype html> | |
<html lang="{{ config('app.locale') }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> |
<div class="container-fluid no-padding hidden-xs"> | |
<?php foreach (get_posts(['post_type' => 'home_project_section', 'posts_per_page'=>100]) as $key => $homeProjects) { | |
$thumb_id = get_post_thumbnail_id($homeProjects); | |
$thumb_url_array = wp_get_attachment_image_src($thumb_id, 'thumbnail-size', true); | |
$thumb_url = $thumb_url_array[0]; | |
$website_url = '/projects/'; | |
$url_to_project = $website_url . $homeProjects->post_name; | |
?> | |
<?php if($key % 2 == 0) { ?> | |
<div class="col-xs-12 no-padding"> |
<script> | |
$(".nav-link").on("click", function(){ | |
$(".nav").find(".active").removeClass("active"); | |
$(this).parent().addClass("active"); | |
}); | |
</script> |
.dont-break-out { | |
/* These are technically the same, but use both */ | |
overflow-wrap: break-word; | |
word-wrap: break-word; | |
-ms-word-break: break-all; | |
/* This is the dangerous one in WebKit, as it breaks things wherever */ | |
word-break: break-all; | |
/* Instead use this non-standard one: */ |
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> | |
<!-- Indicators --> | |
<ol class="carousel-indicators"> | |
@foreach( $trip->photos as $photo ) | |
<li data-target="#carousel-example-generic" data-slide-to="{{ $loop->index }}" class="{{ $loop->first ? 'active' : '' }}"></li> | |
@endforeach | |
</ol> | |
<!-- Wrapper for slides --> |
// Add full screen wrapper | |
.box { | |
top: 50%; | |
left: 50%; | |
margin: 0; | |
position: absolute; | |
transform: translate(-50%, -50%); | |
} |