In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what css commonly used code", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "what is the common css code"!
The code is as follows:
.rad {
-moz-border-radius: 5px
-webkit-border-radius: 5px
Border-radius: 5px
}
. rad-bl {
-moz-border-radius-bottomleft:10px
-webkit-border-bottom-left-radius:10px
Border-bottom-left-radius:10px
}
. rad-br {
-moz-border-radius-bottomright:10px
-webkit-border-bottom-right-radius:10px
Border-bottom-right-radius:10px
}
. box-shadow {
-moz-box-shadow:3px 3px 3px # ccc
-webkit-box-shadow:3px 3px 3px # ccc
Box-shadow:3px 3px 3px # ccc
}
. text-shadow {
Text-shadow:2px 2px 2px blue
}
*:-moz-selection {
Background-color: green
Color: # fff
}
:: selection {
Background-color: green
Color: # fff
}
Input [type= "text"]
Input [type= "password"] {
Padding: 0 8px
Height: 30px
-moz-border-radius: 3px
-webkit-border-radius: 3px
Border-radius: 3px
Border: 1px solid # CCC
}
Input [type= "text"]: focus
Input [type= "password"]: focus {
Outline-width:0! important; / * for chrome safari * /
-moz-box-shadow: 0 8px rgba (82,168,236,0.5)
-webkit-box-shadow: 0 8px rgba (82,168,236,0.5)
Box-shadow: 0 8px rgba (82,168,236,0.5)
Border-color: rgba (82,168,236,0.75)! important
}
.test {
-webkit-border-radius: 40px
-webkit-box-shadow: 00 1px # fff, 00 3px # 000,00 3px # 000, inset 0 1px # fff, inset 0 12px rgba (255 4px 10px # cef, inset 0 22px 5px # 0773b4, inset 0-5px 10px # 0df)
-moz-border-radius: 40px
-moz-box-shadow: 00 1px # fff, 00 3px # 000,00 3px # 000, inset 0 1px # fff, inset 0 12px rgba (255 4px 10px # cef, inset 0 22px 5px # 0773b4, inset 0-5px 10px # 0df)
Width: 80px: height: 34px; line-height: 34px
Text-align: center; color: # fff; font-weight: bold; cursor: pointer
Border-radius: 40px
Background: # 034a76
Box-shadow: 00 1px # fff, 00 3px # 000,00 3px # 00000, inset 0 1px # fff, inset 0 12px rgba (255pct 255LJ 0.15), inset 0 4px 10px # cef, inset 0 22px 5px # 0773b4, inset 0-5px 10px # 0df
}
.bs {
-webkit-box-shadow: 20px 15px 0px # 3c3,-20px 15px 0px # 36c, 20px-15px 0px # c63,-20px-15px 0px # cc3
-moz-box-shadow: 20px 15px 0px # 3c3,-20px 15px 0px # 36c, 20px-15px 0px # c63,-20px-15px 0px # cc3
Box-shadow: 20px 15px 0px # 3c3,-20px 15px 0px # 36c, 20px-15px 0px # c63,-20px-15px 0px # cc3
}
.bs1 {
-webkit-box-shadow:-24px-24px 0-20px # c63, 24px 24px 0-20px # 36c
-moz-box-shadow:-24px-24px 0-20px # c63, 24px 24px 0-20px # 36c
Box-shadow:-24px-24px 0-20px # c63, 24px 24px 0-20px # 36c
}
.bs2 {
-webkit-box-shadow: inset 0 2em 3em-2em white, inset 0-4em 4em-2.5em black
-moz-box-shadow: inset 0 2em 3em-2em white, inset 0-4em 4em-2.5em black
Box-shadow: inset 0 2em 3em-2em white, inset 0-4em 4em-2.5em black
}
.bs3 {
-webkit-box-shadow:inset 0px-7px 15px-7px # dfdfdf, inset 0px 0px 0px 1px # fff
-moz-box-shadow:inset 0px-7px 15px-7px # dfdfdf, inset 0px 0px 0px 1px # fff
Box-shadow:inset 0px-7px 15px-7px # dfdfdf, inset 0px 0px 0px 1px # fff
}
.bs4 {
-webkit-box-shadow:1px 1px 8px # ddd inset
-moz-box-shadow:1px 1px 8px # ddd inset
Box-shadow: 1px 1px 8px # ddd inset
}
Thank you for your reading, the above is the content of "what css commonly used code", after the study of this article, I believe you have a deeper understanding of what css code is commonly used, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.