--- /dev/null
+// Roast+ License
+
+/*
+*/
+#ifndef __SFJP_ROAST__web__css__attr_background_HPP__
+#define __SFJP_ROAST__web__css__attr_background_HPP__
+
+namespace roast
+{
+ namespace css
+ {
+ namespace attr
+ {
+ /////////////////////////////////////////////////////////////////////////
+background: url(image/back.gif) no-repeat fixed 50% 50%; }
+
+ namespace _attrname_str
+ {
+ ROAST_CSS_STR_DEF(background)
+ ROAST_LEXICAL_FIXSTR(background_color, "background-color")
+ ROAST_LEXICAL_FIXSTR(background_image, "background-image")
+ ROAST_LEXICAL_FIXSTR(background_attachment, "background-attachment")
+ ROAST_LEXICAL_FIXSTR(background_position, "background-position")
+ }
+
+ // background
+ template <
+ typename _Image=empty_type,
+ typename _Position=empty_type,
+ typename _Attachment=empty_type,
+ typename _PosX=empty_type,
+ typename _PosY=empty_type>
+ struct background_ : _trbl<_attrname_str::background, _Image, _Position, _Attachment, _PosX, _PosY> {};
+
+ // background_color
+ template <typename _Color>
+ struct background_color_ : _trbl<_attrname_str::background_color, _Color> {};
+
+ // background_image
+ template <
+ typename _Top=empty_type,
+ typename _Right=empty_type,
+ typename _Bottom=empty_type,
+ typename _Left=empty_type>
+ struct border_width_ : _trbl<_attrname_str::border_width, _Top, _Right, _Bottom, _Left> {};
+
+ // border_style {1,4}
+ template <
+ typename _Top=empty_type,
+ typename _Right=empty_type,
+ typename _Bottom=empty_type,
+ typename _Left=empty_type>
+ struct border_style_ : _trbl<_attrname_str::border_style, _Top, _Right, _Bottom, _Left> {};
+
+ // border_color {1,4}
+ template <
+ typename _Top=empty_type,
+ typename _Right=empty_type,
+ typename _Bottom=empty_type,
+ typename _Left=empty_type>
+ struct border_color_ : _trbl<_attrname_str::border_color, _Top, _Right, _Bottom, _Left> {};
+
+ // px ///////////////////////////////////////////////////////////////////////
+
+ // padding(px) {1,4}
+ template <int _Top, int _Right, int _Bottom, int _Left>
+ struct padding_px_ : padding_<
+ unit::px_<_Top>,
+ unit::px_<_Right>,
+ unit::px_<_Bottom>,
+ unit::px_<_Left> > {};
+
+ // margin(px) {1,4}
+ template <int _Top, int _Right, int _Bottom, int _Left>
+ struct margin_px_ : margin_<
+ unit::px_<_Top>,
+ unit::px_<_Right>,
+ unit::px_<_Bottom>,
+ unit::px_<_Left> > {};
+
+ // border_width(px) {1,4}
+ template <int _Top, int _Right, int _Bottom, int _Left>
+ struct border_width_px_ : border_width_<
+ unit::px_<_Top>,
+ unit::px_<_Right>,
+ unit::px_<_Bottom>,
+ unit::px_<_Left> > {};
+ }
+ }
+}
+
+#endif//__SFJP_ROAST__web__css__attr_background_HPP__
\ No newline at end of file