Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSS for application fields
Message
From
28/06/2013 11:25:54
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
CSS
Category:
Other
Miscellaneous
Thread ID:
01577353
Message ID:
01577401
Views:
47
Bootstrap is build on jquery. You can get a log of good info here. http://api.jquery.com/ Look at the menu on the left side and you will find a "Selectors" section.

>>
>>FWIW,
>>
form *[name="customer_id"]
>> form<space> means an element within <form> ... </form>
>>* means any element of any tag
>>[name="customer_id"] means an element that has the attribute 'name' with the value "customer_id"
>>
>>
>>an easy way to learn is by opening a given site and examine elements with firebug.
>
>Thank you for the explanation. I will try to find a site where this type of declaration is used and examine it.
>I still, however, don't understand how the above code/example will save me from having each application field styled in a CSS file. For example, say I want the field "customer_id" always (on all application pages) to be of 200px width. So thought I would set this width for the class "customer_id" in the CSS file. Since CSS file will be used in all pages, the set width will be applied to any Input that has class "customer_id".
>What I don't understand is how the example above will eliminate the need for this class in CSS file.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform