Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*placeholder text color*/
- --------------------------
- input::-webkit-input-placeholder{color:#00B7F1;}
- input:-moz-placeholder{color:#00B7F1;}
- input::-moz-placeholder{color:#00B7F1;}
- input:-ms-input-placeholder{color:#00B7F1;}
- input::-ms-input-placeholder{color:#00B7F1;}
- input:placeholder-shown{color: #00B7F1;}
- --- or --------
- ::-webkit-input-placeholder {
- color: red;}
- :-moz-placeholder { /* Firefox 18- */
- color: red;}
- ::-moz-placeholder { /* Firefox 19+ */
- color: red; }
- :-ms-input-placeholder {
- color: red;}
- :placeholder-shown{color: red;}
- /*Hover animation example left to right*/
- --------------------------
- .archive_sidebar ul li a{box-shadow: inset -15px 0px 0px 0px #ED135B;}
- .archive_sidebar ul li a:hover{box-shadow: inset -360px 0px 0px 0px #ED135B;}
- /*Hover animation example 180 degree */
- .costs_sing_imge_hover{
- transition: all 0.9s ease 0s;
- -moz-transition: all 0.9s ease 0s;
- -webkit-transition: all 0.9s ease 0s;
- -o-transition: all 0.9s ease 0s;
- position: absolute;
- top: 0;
- left: 0;
- background: #fff;
- width: 100%;
- height: 100%;
- border: 1px solid #a48a7a;
- cursor:pointer;
- border-radius: 40px;
- visibility:hidden;
- -webkit-transform: rotate3d(0, 1, 0, -180deg);
- -moz-transform: rotate3d(0, 1, 0, -180deg);
- -ms-transform: rotate3d(0, 1, 0, -180deg);
- -o-transform: rotate3d(0, 1, 0, -180deg);
- transform: rotate3d(0, 1, 0, -180deg);
- opacity: 0;
- }
- .costs_sing_imge:hover .costs_sing_imge_hover{visibility:inherit;
- -webkit-transform: rotate3d(0, 1, 0, 0deg);
- -moz-transform: rotate3d(0, 1, 0, 0deg);
- -ms-transform: rotate3d(0, 1, 0, 0deg);
- -o-transform: rotate3d(0, 1, 0, 0deg);
- transform: rotate3d(0, 1, 0, 0deg);opacity: 1;}
- === html ===
- <div class="costs_sing_imge fix">
- <a href=""><img src="<?php get_option_tree( 'upload_cost_three', '', true ); ?>" alt="" /></a>
- <div class="costs_sing_imge_hover fix">
- <?php get_option_tree( 'upload_cost_content_three', '', true ); ?>
- </div>
- </div>
- source = http://www.citycar.co.il/cost/
- /* multicolor border*/
- ------------------------------
- .footer_top_border {
- background: linear-gradient(to right, #931a1a 1%,#931a1a 14%,#d4cfb7 14%,#d4cfb7 40%,#7c7b74 40%,#7c7b74 55%,#2b2b28 55%,#2b2b28 65%,#d4cfb7 65%,#d4cfb7 72%,#e0591e 72%,#e0591e 85%,#2b2b28 85%,#2b2b28 100%);
- height: 10px;
- }
- /* auto viewport-height height div */
- ------------------------------------------------------------------------
- div {height: 100vh;}
- or
- #fullHeightDiv {
- position: absolute;
- top: 0;
- bottom: 0;
- }
- or jquery
- $('#ID').css("height", $(document).height());
- or use css for auto heighr like masonary
- ---------------------------------------
- //parent div
- .download_wrapper_single {
- -moz-column-count:4;
- -moz-column-gap: 10px;
- -webkit-column-count:4;
- -webkit-column-gap: 10px;
- column-count: 4;
- column-gap: 10px;
- }
- //child
- .downlaod {
- display: inline-block;
- margin-bottom: 10px;
- }
- /* Fixing CSS/Drop-Down Menus That Hide Behind Flash Objects */
- ------------------------------------------------------------------------
- The Solution: Set the z-index of the div holding the flash to 1 and the z-index of the div holding the nav to 2.
- In the flash element:
- example: <embed wmode="transparent" class="banner" src="<?php echo get_template_directory_uri(); ?>/banner.swf"/>
- /*Column Auto Height CSS*/
- --------------------------
- -moz-column-count: 3;
- -moz-column-gap: 0.33%;
- -moz-column-width: 33%;
- -webkit-column-count: 3;
- -webkit-column-gap: 0.33%;
- -webkit-column-width: 33%;
- column-count: 3;
- column-gap: 0.33%;
- column-width: 33%;
- /*-- show other div on hover another and stay till mouseleave? --*/
- --------------------------------
- .button:hover + .box, .box:hover {
- display:block;
- }
- /* before after style*/
- h3:after {
- content: "";
- width: 75px;
- background: url(img/border_arrow.png)no-repeat scroll 0 0;
- position: absolute;
- left: 50%;
- top: 23px;
- height: 20px;
- margin-left: -37px;}
- /* insert two border into div 1 same color other different color style*/
- .xyz{box-shadow: 0px 3px 0px 0px #EDEDED, inset 0px -2px 0px 0px #fff;}
- /* insert down arrow shape style*/
- a:after{
- content:"";
- border-top: 5px solid #333333;
- position: absolute;
- top: 0;
- left: 50%;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- margin-left: -5px;
- }
- ==========================================
- /* Wordpress Common Style */
- ============================
- /* code for Menu with dropdown */
- #nav { }
- ul#nav { }
- ul#nav li{float: left;margin-right: 5px;position: relative;}
- ul#nav li:hover > a{background: #7d93b0;color: #fff;}
- ul#nav li a{text-transform: uppercase;display: block;padding: 25px 19px;color: #5c6261;}
- ul#nav li a:hover{background: #7d93b0;color: #fff;}
- ul#nav li.current_page_item a{background: #7d93b0;color: #fff;}
- ul#nav li ul.sub-menu{position: absolute;left: 0;top: 100%;display: block;z-index: 90;background: #7D93B0;width: 170px;opacity: 0;visibility: hidden;}
- ul#nav li ul.sub-menu li{float: none;display: block;margin: 0;border-bottom: 1px solid #F3F3F3;}
- ul#nav li ul.sub-menu li:last-child{border-bottom: 0px solid #F3F3F3;}
- ul#nav li ul.sub-menu li a{display: block;color: #fff;font-size: 14px;padding: 10px;text-align: center;}
- ul#nav li ul.sub-menu li a:hover{color: #7D93B0;background:#F3F3F3}
- ul#nav li:hover ul.sub-menu{opacity:1;visibility: inherit;transition: all 0.5s;-moz-transition: all 0.5s;-webkit-transition: all 0.5s;-o-transition: all 0.5s;}
- /* Style for Index PHP & Page.php */
- .blog_content{margin: 20px 0; overflow: hidden;width: 100%;}
- .page_blog_post{}
- .single_blog_post{}
- .single_blog_post h2{padding: 10px 0;color: #000;font-size: 22px;margin-bottom: 0;text-align: center;}
- /* Style for Index PHP & Blog */
- .single_blog_post_two{}
- .home_blog_content{padding: 10px;
- border: 1px solid rgba(255, 0, 0, 0.33);
- margin-bottom: 20px;padding-bottom: 0px;}
- .home_blog_content a{color: #000;}
- .home_blog_content a h2{}
- .time_date_comment{}
- .time_date_comment p{}
- .time_date_comment p a{color: #ff0000;font-weight: 700;}
- a.readmore{color:#ff0000;font-weight: 700;}
- .feature_image{float: left;width: 25%;}
- .feature_image img{margin-right: 5%;margin-bottom: 10px;display: block;width: 95%;height: auto;}
- .nav-previous{float: left;}
- .nav-previous a{color: #000;}
- .nav-next{float: right;}
- .nav-next a{color: #000;}
- /* 404 style code */
- .error_message { overflow: hidden; padding: 30px }
- .four_zero_four { font-size: 50px; text-align: center }
- .four_zero_four span { display: block; font-size: 200px; line-height: 190px }
- @media only screen and (max-width: 767px) {
- .four_zero_four {font-size: 40px;text-align: center;}
- .four_zero_four span {display: block;font-size: 100px;line-height: 80px;}
- }
- @media only screen and (min-width: 480px) and (max-width: 767px) {
- .four_zero_four {font-size: 40px;text-align: center;}
- .four_zero_four span {display: block;font-size: 100px;line-height: 80px;}
- }
- /* style for archieve */
- .latest_frm_cat_title { border-bottom: 2px solid #ff0000; font-size: 20px; line-height: 25px; margin-left: 10px }
- .archive_title {font-size: 31px;margin-bottom: 45px;margin-left: 0px;padding: 15px 0;text-align: center}
- .archive_not_found {-moz-box-shadow: 1px 3px 9px;-webkit-box-shadow: 1px 3px 9px;box-shadow: 1px 3px 9px;font-size: 100px;padding: 10px 0 20px;text-align: center}
- .archive_not_found h3 {font-family: italic}
- .archive_page{padding: 0px 25px}
- .archive_page h2{margin-bottom: 10px;}
- .archive_content{border: 1px solid rgba(255, 0, 0, 0.33);margin-bottom: 20px;padding: 10px;min-height: 164px;padding-bottom: 5px;}
- .archive_content h2{}
- .archive_content p{}
- .archive_content a{color: #ff0000;font-weight: bold;text-transform: uppercase;float: right;border-bottom: 1px solid #ff0000;margin-top: 5px;}
- .archive_img{float: left;width: 20%;margin-right: 1%;}
- .archive_img img{width: 100%;height: auto;display: block;margin-bottom: 10px;}
- /* style for search php */
- h2.latest_frm_cat_title span {color: red}
- .single_search {border: 1px solid #ddd;margin-bottom: 20px;padding: 15px }
- .single_footer ul li a.popular_link_img{float: left;margin-right: 3%;width: 27%;}
- .single_footer ul li a.popular_link_img img{width:100%;height:80px;}
- .single_footer ul li a.popular_link{float:right;width: 70%;}
- .archive_not_found {-moz-box-shadow: 1px 3px 9px;-webkit-box-shadow: 1px 3px 9px;box-shadow: 1px 3px 9px;font-size: 100px;padding: 10px 0 20px;text-align: center}
- .archive_title {font-size: 31px;margin-bottom: 45px;margin-left: 0px;padding: 15px 0;text-align: center}
- /* ===================== comments ===================== */
- .comments {margin: 10px 0;}
- .comments h3 {margin:50px 0 30px 0;font-size:24px;}
- ol.commentlist { list-style:none; margin:0 0 1em; padding:0; text-indent:0; }
- ol.commentlist li { }
- ol.commentlist li.alt { }
- ol.commentlist li.bypostauthor {}
- ol.commentlist li.byuser {}
- ol.commentlist li.comment-author-admin {}
- ol.commentlist li.comment { border-bottom: 1px solid #ddd; padding:1em; margin-bottom: 10px; }
- ol.commentlist li div.comment-author {}
- ol.commentlist li div.vcard { font-size:20px;}
- ol.commentlist li div.vcard cite.fn { font-style:normal; }
- ol.commentlist li div.vcard cite.fn a.url {}
- ol.commentlist li div.vcard img.avatar {float:left; margin:0 1em 1em 0; }
- ol.commentlist li div.vcard img.avatar-32 {}
- ol.commentlist li div.vcard img.photo {}
- ol.commentlist li div.vcard span.says {}
- ol.commentlist li div.commentmetadata {}
- ol.commentlist li div.comment-meta { font-size:9px; margin-bottom: 10px;}
- ol.commentlist li div.comment-meta a { color: #aaa; }
- ol.commentlist li p { margin: 0; }
- ol.commentlist li ul { list-style:square; margin:0 0 1em 2em; }
- ol.commentlist li div.reply { font-size:11px; }
- ol.commentlist li div.reply a { font-weight:bold; }
- ol.commentlist li ul.children { list-style:none; margin:1em 0 0; text-indent:0; }
- ol.commentlist li ul.children li {}
- ol.commentlist li ul.children li.alt {}
- ol.commentlist li ul.children li.bypostauthor {}
- ol.commentlist li ul.children li.byuser {}
- ol.commentlist li ul.children li.comment {}
- ol.commentlist li ul.children li.comment-author-admin {}
- ol.commentlist li ul.children li.depth-2 { margin:0 0 .25em .25em; }
- ol.commentlist li ul.children li.depth-3 { margin:0 0 .25em .25em; }
- ol.commentlist li ul.children li.depth-4 { margin:0 0 .25em .25em; }
- ol.commentlist li ul.children li.depth-5 {}
- ol.commentlist li ul.children li.odd {}
- ol.commentlist li.even { background:#fff; }
- ol.commentlist li.odd { background:#f6f6f6; }
- ol.commentlist li.parent { }
- ol.commentlist li.pingback { margin: 0 0 10px; padding: 1em; border: 1px dashed #ccc; }
- ol.commentlist li.thread-alt { }
- ol.commentlist li.thread-even { }
- ol.commentlist li.thread-odd {}
- /* ===================== comment form ===================== */
- #respond {position: relative;}
- #respond input[type="text"],#respond textarea {border:1px solid #ddd;padding:10px}
- #respond input[type="text"] {padding:7px;width:300px}
- #respond .comment-form-author,
- #respond .comment-form-email,
- #respond .comment-form-url,
- #respond .comment-form-comment { position: relative; }
- #respond .comment-form-author label,
- #respond .comment-form-email label,
- #respond .comment-form-url label,
- #respond .comment-form-comment label { background: #eee; color: #555; display: inline-block; left: 4px; min-width: 60px; padding: 4px 10px; position: relative; top: 40px; z-index: 1; }
- #respond input[type="text"]:focus,
- #respond textarea:focus { text-indent: 0; z-index: 1; }
- #respond textarea { resize: vertical; width: 95%; }
- #respond .comment-form-author .required,
- #respond .comment-form-email .required { color: #bd3500; font-size: 22px; font-weight: bold; left: 75%; position: absolute; top: 45px; z-index: 1; }
- #respond .comment-notes,
- #respond .logged-in-as { font-size: 13px; }
- #respond p { margin: 10px 0; }
- #respond .form-submit { float: right; margin: -20px 0 10px; }
- #respond input#submit { background: #454545; border: none; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3); box-shadow: 0px 1px 2px rgba(0,0,0,0.3); color: #eee; cursor: pointer; padding: 5px 42px 5px 22px; }
- #respond input#submit:active { background: #86222D; color: #fff; }
- #respond #cancel-comment-reply-link { color: #666; margin-left: 10px; text-decoration: none; }
- #respond .logged-in-as a:hover,
- #respond #cancel-comment-reply-link:hover { text-decoration: underline; }
- .commentlist #respond { margin: 1.625em 0 0; width: auto; }
- #reply-title { color: #373737; font-size: 20px; }
- #cancel-comment-reply-link { color: #888; display: block; position: absolute; right: 1.625em; text-decoration: none; text-transform: uppercase; top: 1.1em; }
- #cancel-comment-reply-link:focus,
- #cancel-comment-reply-link:active,
- #cancel-comment-reply-link:hover { color: #ff4b33; }
- #respond label {display: block; float: right; font-size: 16px; line-height: 2.2em; width: 280px;}
- #respond input[type=text] {}
- #respond p { font-size: 12px; }
- p.comment-form-comment { margin: 0; }
- .form-allowed-tags { display: none; }
- .trackback { margin: 0 0 10px; padding: 1em; border: 1px dashed #ccc; }
Advertisement
Add Comment
Please, Sign In to add comment