itself I do this UI is designed to support the mobile end of the page, and the WebKit is also exactly the support of the single tag
input element is the use of pseudo class (
:before or
:after ), so I did not do more support and optimization, I just want to keep the HTML as clean as possible, so no other elements to do simulation. If you want to use on the desktop application, or support other browsers, you can make a little change, anyway, I have not tested.
Today continue t
() {$ (' #btn_go '). CSS (' left ', ' 0px ');
$ (' #btn_go '). Hide ();
$ (' #go_page_wrap '). CSS (' Border-color ', ' #DFDFDF ');
});
},400);
},//Jump Box page Jump Gopage:function () {var str_page = $ ("#btn_go_input"). Val ();
if (isNaN (Str_page)) {$ ("#btn_go_input"). Val (This.next);
Return
var n = parseint (str_page);
if (N
HTML Calling code:
HTML code
The above is the required parameter in the example, page number
The CSS33D cool left and right sliding switch button is a very cool CSS33D switch button. You can click the button to slide left and right, just as if the switch is closed, through this article, I will introduce you to the pure CSS3 code to achieve the sliding switch effect. If you need a friend, you can refer to the nonsense and not to mention it. I will show you the demo and download the source code.
The implementation result is as follows:
View demo source code download
HTML Structure Code:
like the one shown above.
Unexpectedly, both the selected and unselected effects are implemented using iconfont. we thought that the unselected results were implemented using border. The selected results were determined using a check iconfont in combination with the horizontal vertical center positioning.
/* Selected effect */. weui_cells_checkbox. weui_check: checked +. weui_icon_checked: before {content: '\ EA06'; color: #09BB07;}/* unselected effect */. weui_cells_checkbox. weui_icon_checke
1, head needs to be addedThere is the search engine can write;2, header, breadcrumbs name header>header-inner>h1#logo>img + ul#nav>li>aBackground:-moz-linear-gradient (top, #626D76, #323A41);Background:-webkit-gradient (linear, center top, center bottom, from (#626D76), to (#323A41)); Background color gradient gradient darkBackground: #EFEFEF; /* Old browsers */Background:-moz-linear-gradient (top, #F7F7F7 0, #DFDFDF 100%);Background:-webkit-gradient
(function ($) {$.fn.select3 = function (option) {var _this = $ (this); var isinit = _this.prev (' div '). Hasclass (' select3-parent '); if (Isinit) return false; var _default = {className: ' select3-parent ',//dropdown box style can be customized width: ' 300px '}; By default, the width is set according to the width of the element set, it is best to set the width of the original dropdown box//Merge Custom Properties _default = $.extend (_default, option); var _data_v
) |+--------------+| Asssss |+--------------+TRIM ([[[Both| Leading| TRAILING] [padding] from]string2)//remove specified characters from the specified positionDefault delete before and after spaces:Select Trim (' Brrr ');+------------------+| Trim (' Brrr ') |+------------------+| Brrr |+------------------+Delete the specified first word such as ', 'Select Trim (Leading ', ' from ',,,, dfdfdf,,,, ');+-----------------------------------------+| Trim (l
least nested 2-tier table to implement such a menu, the interval line with the background color in the TD and insert a 1px high transparent GIF image implementation, the alternate effect of the background color with TD onmouseover event implementation. But looking at the page code of this menu, you will see only the following sentences:No table, but with no sequence id= "menu", we look at the CSS definition of menu: (1) First defines the main style of the menu layer:#menu {margin:15px 20px 0px
Border borderThe upper triangle is only the above border have color, the rest of the border is tranparents, the lower triangle only the border below the color, the rest of the border is tranparents, left Triangle only the border of the right side of the color, The rest of the border is tranparents, the right triangle only the border with color, the rest of the border is tranparents,Code/*** Triangle ***//*** outer ***/#imgMouseOver { Position:absolute; top:48px; left:-42px; width:103
When writing CSS public styles, we will declare a lot of common colors, font size and so on. Now we can declare CSS variables to implement the1. Declaration of variablesThe CSS variable declaration is a letter with two dashes (--) such as:body{--colors: #dfdfdf; --fs16px:16px;}In the code above, the body selector declares the colors and fs16px two variables. The use of '--' is because $ is occupied by sass, @ is less occupied, so is to differentiate t
This code is used to open a div by clicking a button and clicking the mouse in the blank area of the page to hide this div
Adsfsdf
Dfdfdfsdf
Adsfsdf
Dfdfdf
Dfdfdfdf
Adsfsdf
Dfdfdf
Dfdfdfdf
Script
Var temEventobject = null;
Var temshowTag = false;
Function document. onclick ()
{
If (event. srcElement. abc = null temshowTag = false)
{
Var temabc = document. ge
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.