A Pen by Chris Coyier on CodePen.
- Set
-moz-appearance
tonone
. This will "reset" the styling of the element; - Set
text-indent
to0.01px
. This will "push" the text a tiny bit[1] to the right; - Set
text-overflow
to''
(an empty string). This will change anything that extends beyond the element's width to... nothing - and this includes the infamous arrow!
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
jQuery.placeholder = function() { | |
$('[placeholder]').focus(function() { | |
var input = $(this); | |
if (input.hasClass('placeholder')) { | |
input.val(''); | |
input.removeClass('placeholder'); | |
} | |
}).blur(function() { | |
var input = $(this); | |
if (input.val() === '') { |
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
// Animation Progress Bars | |
$("[data-appear-progress-animation]").each(function() { | |
var $this = $(this); | |
$this.appear(function() { | |
var delay = ($this.attr("data-appear-animation-delay") ? $this.attr("data-appear-animation-delay") : 1); | |
if(delay > 1) $this.css("animation-delay", delay + "ms"); |
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
use hrm | |
create table mtblAccYear( | |
intAccYear numeric(6,0) not null primary key identity(1,1), | |
varAccYear varchar(15), | |
dtBeginDate datetime, | |
dtEndDate datetime, | |
) | |
create table mtblUserRole ( |
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
protected void Edit(object sender, EventArgs e) | |
{ | |
hfAddEditId.Value = (sender as Button).CommandArgument; | |
_HrmEntity.intDistrictId = Convert.ToInt32(hfAddEditId.Value); | |
List<Entity_HRM> listdist = new List<Entity_HRM>(); | |
listdist = _district.GetAllDataById(_HrmEntity); | |
var sta = (from usr in listdist select usr); | |
if (sta.Any()) | |
{ | |
List<Entity_HRM> listCountry = new List<Entity_HRM>(); |
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
if( function_exists('acf_add_local_field_group') ): | |
acf_add_local_field_group(array ( | |
'key' => 'group_58ea278ba3131', | |
'title' => 'Featured Column', | |
'fields' => array ( | |
array ( | |
'key' => 'field_58ea27aff64ea', | |
'label' => 'Featured Column', | |
'name' => 'featured_column', |
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 | |
/* | |
* Register colors and layout for the Theme Customizer. | |
*/ | |
function pepper_customize_register($wp_customize) { | |
function pepper_sanitize_text( $input ) { | |
return $input; | |
} |
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="row"> | |
<?php | |
$query = new WP_Query(array( | |
'posts_per_page' => 3, | |
)); | |
while ($query->have_posts()): $query->the_post(); ?> | |
<div class="col-md-4 col-sm-6 col-xs-12"> | |
<article class="post-item"> | |
<div class="post-tile"> | |
<a href="<?php the_permalink(); ?>" class="media-box"> <?php echo get_the_post_thumbnail( get_the_ID(), 'large'); ?></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
<section class="cta-home"> | |
<div class="cta-container"> | |
<?php $callto_action_home = get_theme_mod('callto_action_home',__( '', 'pepper' )); ?> | |
<?php if(!empty($callto_action_home)) : ?> | |
<div> | |
<h2 class="h3"> <?php echo esc_html($callto_action_home); ?></h2> | |
</div> | |
<a class="btn btn-sm btn-black btn-inverse" href="">VIEW FAQS</a> | |
<?php endif; ?> | |
</div> |
OlderNewer