pub struct Style { /* private fields */ }Expand description
A set of CSS declarations, each of which becomes one class.
A property method replaces an earlier value for the same property under the same conditions, so a later call wins as it would later in a rule.
use hypersig_style::value::{Color, Display, pct, px, quoted, rem};
use hypersig_style::{Media, PseudoClass, PseudoElement, Style};
let card = Style::new()
.display(Display::Flex)
.padding(rem(1))
.color(Color::hex(0x222222))
.on(PseudoClass::Hover, Style::new().color(Color::CRIMSON))
.on(Media::Md, Style::new().width(pct(50)))
.pseudo(PseudoElement::After, Style::new().content(quoted("→")).margin_left(px(4)));
let names: Vec<String> = card.class_names().collect();
assert!(names.contains(&"hover:color_crimson".to_owned()));Implementations§
Source§impl Style
impl Style
Sourcepub fn accent_color(self, value: impl Into<AccentColor>) -> Style
pub fn accent_color(self, value: impl Into<AccentColor>) -> Style
Sets accent-color.
Sourcepub fn align_content(self, value: impl Into<AlignContent>) -> Style
pub fn align_content(self, value: impl Into<AlignContent>) -> Style
Sets align-content.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn align_items(self, value: impl Into<AlignItems>) -> Style
pub fn align_items(self, value: impl Into<AlignItems>) -> Style
Sets align-items.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn align_self(self, value: impl Into<AlignSelf>) -> Style
pub fn align_self(self, value: impl Into<AlignSelf>) -> Style
Sets align-self.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn alignment_baseline(self, value: impl Into<AlignmentBaseline>) -> Style
pub fn alignment_baseline(self, value: impl Into<AlignmentBaseline>) -> Style
Sets alignment-baseline.
Sourcepub fn anchor_name(self, value: impl Into<AnchorName>) -> Style
pub fn anchor_name(self, value: impl Into<AnchorName>) -> Style
Sets anchor-name.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_composition(
self,
value: impl Into<AnimationComposition>,
) -> Style
pub fn animation_composition( self, value: impl Into<AnimationComposition>, ) -> Style
Sets animation-composition.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_delay(self, value: impl Into<AnimationDelay>) -> Style
pub fn animation_delay(self, value: impl Into<AnimationDelay>) -> Style
Sets animation-delay.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_direction(self, value: impl Into<AnimationDirection>) -> Style
pub fn animation_direction(self, value: impl Into<AnimationDirection>) -> Style
Sets animation-direction.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_duration(self, value: impl Into<AnimationDuration>) -> Style
pub fn animation_duration(self, value: impl Into<AnimationDuration>) -> Style
Sets animation-duration.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_fill_mode(self, value: impl Into<AnimationFillMode>) -> Style
pub fn animation_fill_mode(self, value: impl Into<AnimationFillMode>) -> Style
Sets animation-fill-mode.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_iteration_count(
self,
value: impl Into<AnimationIterationCount>,
) -> Style
pub fn animation_iteration_count( self, value: impl Into<AnimationIterationCount>, ) -> Style
Sets animation-iteration-count.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_name(self, value: impl Into<AnimationName>) -> Style
pub fn animation_name(self, value: impl Into<AnimationName>) -> Style
Sets animation-name.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_play_state(self, value: impl Into<AnimationPlayState>) -> Style
pub fn animation_play_state(self, value: impl Into<AnimationPlayState>) -> Style
Sets animation-play-state.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_timing_function(
self,
value: impl Into<AnimationTimingFunction>,
) -> Style
pub fn animation_timing_function( self, value: impl Into<AnimationTimingFunction>, ) -> Style
Sets animation-timing-function.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn animation_trigger(self, value: impl Into<AnimationTrigger>) -> Style
pub fn animation_trigger(self, value: impl Into<AnimationTrigger>) -> Style
Sets animation-trigger.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn appearance(self, value: impl Into<Appearance>) -> Style
pub fn appearance(self, value: impl Into<Appearance>) -> Style
Sets appearance.
Sourcepub fn aspect_ratio(self, value: impl Into<AspectRatio>) -> Style
pub fn aspect_ratio(self, value: impl Into<AspectRatio>) -> Style
Sets aspect-ratio.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn backdrop_filter(self, value: impl Into<BackdropFilter>) -> Style
pub fn backdrop_filter(self, value: impl Into<BackdropFilter>) -> Style
Sets backdrop-filter.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn backface_visibility(self, value: impl Into<BackfaceVisibility>) -> Style
pub fn backface_visibility(self, value: impl Into<BackfaceVisibility>) -> Style
Sets backface-visibility.
Sourcepub fn background(self, value: impl Into<Background>) -> Style
pub fn background(self, value: impl Into<Background>) -> Style
Sets background.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_attachment(
self,
value: impl Into<BackgroundAttachment>,
) -> Style
pub fn background_attachment( self, value: impl Into<BackgroundAttachment>, ) -> Style
Sets background-attachment.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_blend_mode(
self,
value: impl Into<BackgroundBlendMode>,
) -> Style
pub fn background_blend_mode( self, value: impl Into<BackgroundBlendMode>, ) -> Style
Sets background-blend-mode.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_clip(self, value: impl Into<BackgroundClip>) -> Style
pub fn background_clip(self, value: impl Into<BackgroundClip>) -> Style
Sets background-clip.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_color(self, value: impl Into<Color>) -> Style
pub fn background_color(self, value: impl Into<Color>) -> Style
Sets background-color.
Sourcepub fn background_image(self, value: impl Into<BackgroundImage>) -> Style
pub fn background_image(self, value: impl Into<BackgroundImage>) -> Style
Sets background-image.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_origin(self, value: impl Into<BackgroundOrigin>) -> Style
pub fn background_origin(self, value: impl Into<BackgroundOrigin>) -> Style
Sets background-origin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_position(self, value: impl Into<BackgroundPosition>) -> Style
pub fn background_position(self, value: impl Into<BackgroundPosition>) -> Style
Sets background-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_position_x(
self,
value: impl Into<BackgroundPositionX>,
) -> Style
pub fn background_position_x( self, value: impl Into<BackgroundPositionX>, ) -> Style
Sets background-position-x.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_position_y(
self,
value: impl Into<BackgroundPositionY>,
) -> Style
pub fn background_position_y( self, value: impl Into<BackgroundPositionY>, ) -> Style
Sets background-position-y.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_repeat(self, value: impl Into<BackgroundRepeat>) -> Style
pub fn background_repeat(self, value: impl Into<BackgroundRepeat>) -> Style
Sets background-repeat.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn background_size(self, value: impl Into<BackgroundSize>) -> Style
pub fn background_size(self, value: impl Into<BackgroundSize>) -> Style
Sets background-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn baseline_shift(self, value: impl Into<BaselineShift>) -> Style
pub fn baseline_shift(self, value: impl Into<BaselineShift>) -> Style
Sets baseline-shift.
Sourcepub fn baseline_source(self, value: impl Into<BaselineSource>) -> Style
pub fn baseline_source(self, value: impl Into<BaselineSource>) -> Style
Sets baseline-source.
Sourcepub fn block_size(self, value: impl Into<BlockSize>) -> Style
pub fn block_size(self, value: impl Into<BlockSize>) -> Style
Sets block-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block(self, value: impl Into<BorderBlock>) -> Style
pub fn border_block(self, value: impl Into<BorderBlock>) -> Style
Sets border-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block_color(self, value: impl Into<BorderBlockColor>) -> Style
pub fn border_block_color(self, value: impl Into<BorderBlockColor>) -> Style
Sets border-block-color.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block_end(self, value: impl Into<BorderBlockEnd>) -> Style
pub fn border_block_end(self, value: impl Into<BorderBlockEnd>) -> Style
Sets border-block-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block_end_color(self, value: impl Into<Color>) -> Style
pub fn border_block_end_color(self, value: impl Into<Color>) -> Style
Sets border-block-end-color.
Sourcepub fn border_block_end_style(
self,
value: impl Into<BorderBlockEndStyle>,
) -> Style
pub fn border_block_end_style( self, value: impl Into<BorderBlockEndStyle>, ) -> Style
Sets border-block-end-style.
Sourcepub fn border_block_end_width(
self,
value: impl Into<BorderBlockEndWidth>,
) -> Style
pub fn border_block_end_width( self, value: impl Into<BorderBlockEndWidth>, ) -> Style
Sets border-block-end-width.
Sourcepub fn border_block_start(self, value: impl Into<BorderBlockStart>) -> Style
pub fn border_block_start(self, value: impl Into<BorderBlockStart>) -> Style
Sets border-block-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block_start_color(self, value: impl Into<Color>) -> Style
pub fn border_block_start_color(self, value: impl Into<Color>) -> Style
Sets border-block-start-color.
Sourcepub fn border_block_start_style(
self,
value: impl Into<BorderBlockStartStyle>,
) -> Style
pub fn border_block_start_style( self, value: impl Into<BorderBlockStartStyle>, ) -> Style
Sets border-block-start-style.
Sourcepub fn border_block_start_width(
self,
value: impl Into<BorderBlockStartWidth>,
) -> Style
pub fn border_block_start_width( self, value: impl Into<BorderBlockStartWidth>, ) -> Style
Sets border-block-start-width.
Sourcepub fn border_block_style(self, value: impl Into<BorderBlockStyle>) -> Style
pub fn border_block_style(self, value: impl Into<BorderBlockStyle>) -> Style
Sets border-block-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_block_width(self, value: impl Into<BorderBlockWidth>) -> Style
pub fn border_block_width(self, value: impl Into<BorderBlockWidth>) -> Style
Sets border-block-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_bottom(self, value: impl Into<BorderBottom>) -> Style
pub fn border_bottom(self, value: impl Into<BorderBottom>) -> Style
Sets border-bottom.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_bottom_color(self, value: impl Into<Color>) -> Style
pub fn border_bottom_color(self, value: impl Into<Color>) -> Style
Sets border-bottom-color.
Sourcepub fn border_bottom_left_radius(
self,
value: impl Into<BorderBottomLeftRadius>,
) -> Style
pub fn border_bottom_left_radius( self, value: impl Into<BorderBottomLeftRadius>, ) -> Style
Sets border-bottom-left-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_bottom_right_radius(
self,
value: impl Into<BorderBottomRightRadius>,
) -> Style
pub fn border_bottom_right_radius( self, value: impl Into<BorderBottomRightRadius>, ) -> Style
Sets border-bottom-right-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_bottom_style(self, value: impl Into<BorderBottomStyle>) -> Style
pub fn border_bottom_style(self, value: impl Into<BorderBottomStyle>) -> Style
Sets border-bottom-style.
Sourcepub fn border_bottom_width(self, value: impl Into<BorderBottomWidth>) -> Style
pub fn border_bottom_width(self, value: impl Into<BorderBottomWidth>) -> Style
Sets border-bottom-width.
Sourcepub fn border_collapse(self, value: impl Into<BorderCollapse>) -> Style
pub fn border_collapse(self, value: impl Into<BorderCollapse>) -> Style
Sets border-collapse.
Sourcepub fn border_color(self, value: impl Into<BorderColor>) -> Style
pub fn border_color(self, value: impl Into<BorderColor>) -> Style
Sets border-color.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_end_end_radius(
self,
value: impl Into<BorderEndEndRadius>,
) -> Style
pub fn border_end_end_radius( self, value: impl Into<BorderEndEndRadius>, ) -> Style
Sets border-end-end-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_end_start_radius(
self,
value: impl Into<BorderEndStartRadius>,
) -> Style
pub fn border_end_start_radius( self, value: impl Into<BorderEndStartRadius>, ) -> Style
Sets border-end-start-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image(self, value: impl Into<BorderImage>) -> Style
pub fn border_image(self, value: impl Into<BorderImage>) -> Style
Sets border-image.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image_outset(self, value: impl Into<BorderImageOutset>) -> Style
pub fn border_image_outset(self, value: impl Into<BorderImageOutset>) -> Style
Sets border-image-outset.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image_repeat(self, value: impl Into<BorderImageRepeat>) -> Style
pub fn border_image_repeat(self, value: impl Into<BorderImageRepeat>) -> Style
Sets border-image-repeat.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image_slice(self, value: impl Into<BorderImageSlice>) -> Style
pub fn border_image_slice(self, value: impl Into<BorderImageSlice>) -> Style
Sets border-image-slice.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image_source(self, value: impl Into<BorderImageSource>) -> Style
pub fn border_image_source(self, value: impl Into<BorderImageSource>) -> Style
Sets border-image-source.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_image_width(self, value: impl Into<BorderImageWidth>) -> Style
pub fn border_image_width(self, value: impl Into<BorderImageWidth>) -> Style
Sets border-image-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline(self, value: impl Into<BorderInline>) -> Style
pub fn border_inline(self, value: impl Into<BorderInline>) -> Style
Sets border-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline_color(self, value: impl Into<BorderInlineColor>) -> Style
pub fn border_inline_color(self, value: impl Into<BorderInlineColor>) -> Style
Sets border-inline-color.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline_end(self, value: impl Into<BorderInlineEnd>) -> Style
pub fn border_inline_end(self, value: impl Into<BorderInlineEnd>) -> Style
Sets border-inline-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline_end_color(self, value: impl Into<Color>) -> Style
pub fn border_inline_end_color(self, value: impl Into<Color>) -> Style
Sets border-inline-end-color.
Sourcepub fn border_inline_end_style(
self,
value: impl Into<BorderInlineEndStyle>,
) -> Style
pub fn border_inline_end_style( self, value: impl Into<BorderInlineEndStyle>, ) -> Style
Sets border-inline-end-style.
Sourcepub fn border_inline_end_width(
self,
value: impl Into<BorderInlineEndWidth>,
) -> Style
pub fn border_inline_end_width( self, value: impl Into<BorderInlineEndWidth>, ) -> Style
Sets border-inline-end-width.
Sourcepub fn border_inline_start(self, value: impl Into<BorderInlineStart>) -> Style
pub fn border_inline_start(self, value: impl Into<BorderInlineStart>) -> Style
Sets border-inline-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline_start_color(self, value: impl Into<Color>) -> Style
pub fn border_inline_start_color(self, value: impl Into<Color>) -> Style
Sourcepub fn border_inline_start_style(
self,
value: impl Into<BorderInlineStartStyle>,
) -> Style
pub fn border_inline_start_style( self, value: impl Into<BorderInlineStartStyle>, ) -> Style
Sourcepub fn border_inline_start_width(
self,
value: impl Into<BorderInlineStartWidth>,
) -> Style
pub fn border_inline_start_width( self, value: impl Into<BorderInlineStartWidth>, ) -> Style
Sourcepub fn border_inline_style(self, value: impl Into<BorderInlineStyle>) -> Style
pub fn border_inline_style(self, value: impl Into<BorderInlineStyle>) -> Style
Sets border-inline-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_inline_width(self, value: impl Into<BorderInlineWidth>) -> Style
pub fn border_inline_width(self, value: impl Into<BorderInlineWidth>) -> Style
Sets border-inline-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_left(self, value: impl Into<BorderLeft>) -> Style
pub fn border_left(self, value: impl Into<BorderLeft>) -> Style
Sets border-left.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_left_color(self, value: impl Into<Color>) -> Style
pub fn border_left_color(self, value: impl Into<Color>) -> Style
Sets border-left-color.
Sourcepub fn border_left_style(self, value: impl Into<BorderLeftStyle>) -> Style
pub fn border_left_style(self, value: impl Into<BorderLeftStyle>) -> Style
Sets border-left-style.
Sourcepub fn border_left_width(self, value: impl Into<BorderLeftWidth>) -> Style
pub fn border_left_width(self, value: impl Into<BorderLeftWidth>) -> Style
Sets border-left-width.
Sourcepub fn border_radius(self, value: impl Into<BorderRadius>) -> Style
pub fn border_radius(self, value: impl Into<BorderRadius>) -> Style
Sets border-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_right(self, value: impl Into<BorderRight>) -> Style
pub fn border_right(self, value: impl Into<BorderRight>) -> Style
Sets border-right.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_right_color(self, value: impl Into<Color>) -> Style
pub fn border_right_color(self, value: impl Into<Color>) -> Style
Sets border-right-color.
Sourcepub fn border_right_style(self, value: impl Into<BorderRightStyle>) -> Style
pub fn border_right_style(self, value: impl Into<BorderRightStyle>) -> Style
Sets border-right-style.
Sourcepub fn border_right_width(self, value: impl Into<BorderRightWidth>) -> Style
pub fn border_right_width(self, value: impl Into<BorderRightWidth>) -> Style
Sets border-right-width.
Sourcepub fn border_shape(self, value: impl Into<BorderShape>) -> Style
pub fn border_shape(self, value: impl Into<BorderShape>) -> Style
Sets border-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_spacing(self, value: impl Into<BorderSpacing>) -> Style
pub fn border_spacing(self, value: impl Into<BorderSpacing>) -> Style
Sets border-spacing.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_start_end_radius(
self,
value: impl Into<BorderStartEndRadius>,
) -> Style
pub fn border_start_end_radius( self, value: impl Into<BorderStartEndRadius>, ) -> Style
Sets border-start-end-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_start_start_radius(
self,
value: impl Into<BorderStartStartRadius>,
) -> Style
pub fn border_start_start_radius( self, value: impl Into<BorderStartStartRadius>, ) -> Style
Sets border-start-start-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_style(self, value: impl Into<BorderStyle>) -> Style
pub fn border_style(self, value: impl Into<BorderStyle>) -> Style
Sets border-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_top(self, value: impl Into<BorderTop>) -> Style
pub fn border_top(self, value: impl Into<BorderTop>) -> Style
Sets border-top.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_top_color(self, value: impl Into<Color>) -> Style
pub fn border_top_color(self, value: impl Into<Color>) -> Style
Sets border-top-color.
Sourcepub fn border_top_left_radius(
self,
value: impl Into<BorderTopLeftRadius>,
) -> Style
pub fn border_top_left_radius( self, value: impl Into<BorderTopLeftRadius>, ) -> Style
Sets border-top-left-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_top_right_radius(
self,
value: impl Into<BorderTopRightRadius>,
) -> Style
pub fn border_top_right_radius( self, value: impl Into<BorderTopRightRadius>, ) -> Style
Sets border-top-right-radius.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn border_top_style(self, value: impl Into<BorderTopStyle>) -> Style
pub fn border_top_style(self, value: impl Into<BorderTopStyle>) -> Style
Sets border-top-style.
Sourcepub fn border_top_width(self, value: impl Into<BorderTopWidth>) -> Style
pub fn border_top_width(self, value: impl Into<BorderTopWidth>) -> Style
Sets border-top-width.
Sourcepub fn border_width(self, value: impl Into<BorderWidth>) -> Style
pub fn border_width(self, value: impl Into<BorderWidth>) -> Style
Sets border-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn box_decoration_break(self, value: impl Into<BoxDecorationBreak>) -> Style
pub fn box_decoration_break(self, value: impl Into<BoxDecorationBreak>) -> Style
Sets box-decoration-break.
Sourcepub fn box_shadow(self, value: impl Into<BoxShadow>) -> Style
pub fn box_shadow(self, value: impl Into<BoxShadow>) -> Style
Sets box-shadow.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn box_sizing(self, value: impl Into<BoxSizing>) -> Style
pub fn box_sizing(self, value: impl Into<BoxSizing>) -> Style
Sets box-sizing.
Sourcepub fn break_after(self, value: impl Into<BreakAfter>) -> Style
pub fn break_after(self, value: impl Into<BreakAfter>) -> Style
Sets break-after.
Sourcepub fn break_before(self, value: impl Into<BreakBefore>) -> Style
pub fn break_before(self, value: impl Into<BreakBefore>) -> Style
Sets break-before.
Sourcepub fn break_inside(self, value: impl Into<BreakInside>) -> Style
pub fn break_inside(self, value: impl Into<BreakInside>) -> Style
Sets break-inside.
Sourcepub fn caption_side(self, value: impl Into<CaptionSide>) -> Style
pub fn caption_side(self, value: impl Into<CaptionSide>) -> Style
Sets caption-side.
Sourcepub fn caret_animation(self, value: impl Into<CaretAnimation>) -> Style
pub fn caret_animation(self, value: impl Into<CaretAnimation>) -> Style
Sets caret-animation.
Sourcepub fn caret_color(self, value: impl Into<CaretColor>) -> Style
pub fn caret_color(self, value: impl Into<CaretColor>) -> Style
Sets caret-color.
Sourcepub fn caret_shape(self, value: impl Into<CaretShape>) -> Style
pub fn caret_shape(self, value: impl Into<CaretShape>) -> Style
Sets caret-shape.
Sourcepub fn color_interpolation_filters(
self,
value: impl Into<ColorInterpolationFilters>,
) -> Style
pub fn color_interpolation_filters( self, value: impl Into<ColorInterpolationFilters>, ) -> Style
Sourcepub fn color_scheme(self, value: impl Into<ColorScheme>) -> Style
pub fn color_scheme(self, value: impl Into<ColorScheme>) -> Style
Sets color-scheme.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn column_count(self, value: impl Into<ColumnCount>) -> Style
pub fn column_count(self, value: impl Into<ColumnCount>) -> Style
Sets column-count.
Sourcepub fn column_fill(self, value: impl Into<ColumnFill>) -> Style
pub fn column_fill(self, value: impl Into<ColumnFill>) -> Style
Sets column-fill.
Sourcepub fn column_gap(self, value: impl Into<ColumnGap>) -> Style
pub fn column_gap(self, value: impl Into<ColumnGap>) -> Style
Sets column-gap.
Sourcepub fn column_height(self, value: impl Into<ColumnHeight>) -> Style
pub fn column_height(self, value: impl Into<ColumnHeight>) -> Style
Sets column-height.
Sourcepub fn column_rule(self, value: impl Into<ColumnRule>) -> Style
pub fn column_rule(self, value: impl Into<ColumnRule>) -> Style
Sets column-rule.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn column_rule_color(self, value: impl Into<Color>) -> Style
pub fn column_rule_color(self, value: impl Into<Color>) -> Style
Sets column-rule-color.
Sourcepub fn column_rule_style(self, value: impl Into<ColumnRuleStyle>) -> Style
pub fn column_rule_style(self, value: impl Into<ColumnRuleStyle>) -> Style
Sets column-rule-style.
Sourcepub fn column_rule_width(self, value: impl Into<ColumnRuleWidth>) -> Style
pub fn column_rule_width(self, value: impl Into<ColumnRuleWidth>) -> Style
Sets column-rule-width.
Sourcepub fn column_span(self, value: impl Into<ColumnSpan>) -> Style
pub fn column_span(self, value: impl Into<ColumnSpan>) -> Style
Sets column-span.
Sourcepub fn column_width(self, value: impl Into<ColumnWidth>) -> Style
pub fn column_width(self, value: impl Into<ColumnWidth>) -> Style
Sets column-width.
Sourcepub fn column_wrap(self, value: impl Into<ColumnWrap>) -> Style
pub fn column_wrap(self, value: impl Into<ColumnWrap>) -> Style
Sets column-wrap.
Sourcepub fn contain_intrinsic_block_size(
self,
value: impl Into<ContainIntrinsicBlockSize>,
) -> Style
pub fn contain_intrinsic_block_size( self, value: impl Into<ContainIntrinsicBlockSize>, ) -> Style
Sets contain-intrinsic-block-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn contain_intrinsic_height(
self,
value: impl Into<ContainIntrinsicHeight>,
) -> Style
pub fn contain_intrinsic_height( self, value: impl Into<ContainIntrinsicHeight>, ) -> Style
Sets contain-intrinsic-height.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn contain_intrinsic_inline_size(
self,
value: impl Into<ContainIntrinsicInlineSize>,
) -> Style
pub fn contain_intrinsic_inline_size( self, value: impl Into<ContainIntrinsicInlineSize>, ) -> Style
Sets contain-intrinsic-inline-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn contain_intrinsic_size(
self,
value: impl Into<ContainIntrinsicSize>,
) -> Style
pub fn contain_intrinsic_size( self, value: impl Into<ContainIntrinsicSize>, ) -> Style
Sets contain-intrinsic-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn contain_intrinsic_width(
self,
value: impl Into<ContainIntrinsicWidth>,
) -> Style
pub fn contain_intrinsic_width( self, value: impl Into<ContainIntrinsicWidth>, ) -> Style
Sets contain-intrinsic-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn container_name(self, value: impl Into<ContainerName>) -> Style
pub fn container_name(self, value: impl Into<ContainerName>) -> Style
Sets container-name.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn container_type(self, value: impl Into<ContainerType>) -> Style
pub fn container_type(self, value: impl Into<ContainerType>) -> Style
Sets container-type.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn content_visibility(self, value: impl Into<ContentVisibility>) -> Style
pub fn content_visibility(self, value: impl Into<ContentVisibility>) -> Style
Sets content-visibility.
Sourcepub fn corner_block_end_shape(
self,
value: impl Into<CornerBlockEndShape>,
) -> Style
pub fn corner_block_end_shape( self, value: impl Into<CornerBlockEndShape>, ) -> Style
Sets corner-block-end-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_block_start_shape(
self,
value: impl Into<CornerBlockStartShape>,
) -> Style
pub fn corner_block_start_shape( self, value: impl Into<CornerBlockStartShape>, ) -> Style
Sets corner-block-start-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_bottom_left_shape(
self,
value: impl Into<CornerBottomLeftShape>,
) -> Style
pub fn corner_bottom_left_shape( self, value: impl Into<CornerBottomLeftShape>, ) -> Style
Sets corner-bottom-left-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_bottom_right_shape(
self,
value: impl Into<CornerBottomRightShape>,
) -> Style
pub fn corner_bottom_right_shape( self, value: impl Into<CornerBottomRightShape>, ) -> Style
Sets corner-bottom-right-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_bottom_shape(self, value: impl Into<CornerBottomShape>) -> Style
pub fn corner_bottom_shape(self, value: impl Into<CornerBottomShape>) -> Style
Sets corner-bottom-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_end_end_shape(self, value: impl Into<CornerEndEndShape>) -> Style
pub fn corner_end_end_shape(self, value: impl Into<CornerEndEndShape>) -> Style
Sets corner-end-end-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_end_start_shape(
self,
value: impl Into<CornerEndStartShape>,
) -> Style
pub fn corner_end_start_shape( self, value: impl Into<CornerEndStartShape>, ) -> Style
Sets corner-end-start-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_inline_end_shape(
self,
value: impl Into<CornerInlineEndShape>,
) -> Style
pub fn corner_inline_end_shape( self, value: impl Into<CornerInlineEndShape>, ) -> Style
Sets corner-inline-end-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_inline_start_shape(
self,
value: impl Into<CornerInlineStartShape>,
) -> Style
pub fn corner_inline_start_shape( self, value: impl Into<CornerInlineStartShape>, ) -> Style
Sets corner-inline-start-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_left_shape(self, value: impl Into<CornerLeftShape>) -> Style
pub fn corner_left_shape(self, value: impl Into<CornerLeftShape>) -> Style
Sets corner-left-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_right_shape(self, value: impl Into<CornerRightShape>) -> Style
pub fn corner_right_shape(self, value: impl Into<CornerRightShape>) -> Style
Sets corner-right-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_shape(self, value: impl Into<CornerShape>) -> Style
pub fn corner_shape(self, value: impl Into<CornerShape>) -> Style
Sets corner-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_start_end_shape(
self,
value: impl Into<CornerStartEndShape>,
) -> Style
pub fn corner_start_end_shape( self, value: impl Into<CornerStartEndShape>, ) -> Style
Sets corner-start-end-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_start_start_shape(
self,
value: impl Into<CornerStartStartShape>,
) -> Style
pub fn corner_start_start_shape( self, value: impl Into<CornerStartStartShape>, ) -> Style
Sets corner-start-start-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_top_left_shape(
self,
value: impl Into<CornerTopLeftShape>,
) -> Style
pub fn corner_top_left_shape( self, value: impl Into<CornerTopLeftShape>, ) -> Style
Sets corner-top-left-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_top_right_shape(
self,
value: impl Into<CornerTopRightShape>,
) -> Style
pub fn corner_top_right_shape( self, value: impl Into<CornerTopRightShape>, ) -> Style
Sets corner-top-right-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn corner_top_shape(self, value: impl Into<CornerTopShape>) -> Style
pub fn corner_top_shape(self, value: impl Into<CornerTopShape>) -> Style
Sets corner-top-shape.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn counter_increment(self, value: impl Into<CounterIncrement>) -> Style
pub fn counter_increment(self, value: impl Into<CounterIncrement>) -> Style
Sets counter-increment.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn counter_reset(self, value: impl Into<CounterReset>) -> Style
pub fn counter_reset(self, value: impl Into<CounterReset>) -> Style
Sets counter-reset.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn counter_set(self, value: impl Into<CounterSet>) -> Style
pub fn counter_set(self, value: impl Into<CounterSet>) -> Style
Sets counter-set.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn dominant_baseline(self, value: impl Into<DominantBaseline>) -> Style
pub fn dominant_baseline(self, value: impl Into<DominantBaseline>) -> Style
Sets dominant-baseline.
Sourcepub fn dynamic_range_limit(self, value: impl Into<DynamicRangeLimit>) -> Style
pub fn dynamic_range_limit(self, value: impl Into<DynamicRangeLimit>) -> Style
Sets dynamic-range-limit.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn empty_cells(self, value: impl Into<EmptyCells>) -> Style
pub fn empty_cells(self, value: impl Into<EmptyCells>) -> Style
Sets empty-cells.
Sourcepub fn fill_opacity(self, value: impl Into<FillOpacity>) -> Style
pub fn fill_opacity(self, value: impl Into<FillOpacity>) -> Style
Sets fill-opacity.
Sourcepub fn flex_basis(self, value: impl Into<FlexBasis>) -> Style
pub fn flex_basis(self, value: impl Into<FlexBasis>) -> Style
Sets flex-basis.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn flex_direction(self, value: impl Into<FlexDirection>) -> Style
pub fn flex_direction(self, value: impl Into<FlexDirection>) -> Style
Sets flex-direction.
Sourcepub fn flex_line_count(self, value: impl Into<i32>) -> Style
pub fn flex_line_count(self, value: impl Into<i32>) -> Style
Sets flex-line-count.
Sourcepub fn flex_shrink(self, value: impl Into<f64>) -> Style
pub fn flex_shrink(self, value: impl Into<f64>) -> Style
Sets flex-shrink.
Sourcepub fn flood_color(self, value: impl Into<Color>) -> Style
pub fn flood_color(self, value: impl Into<Color>) -> Style
Sets flood-color.
Sourcepub fn flood_opacity(self, value: impl Into<FloodOpacity>) -> Style
pub fn flood_opacity(self, value: impl Into<FloodOpacity>) -> Style
Sets flood-opacity.
Sourcepub fn font_family(self, value: impl Into<FontFamily>) -> Style
pub fn font_family(self, value: impl Into<FontFamily>) -> Style
Sets font-family.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_feature_settings(
self,
value: impl Into<FontFeatureSettings>,
) -> Style
pub fn font_feature_settings( self, value: impl Into<FontFeatureSettings>, ) -> Style
Sets font-feature-settings.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_kerning(self, value: impl Into<FontKerning>) -> Style
pub fn font_kerning(self, value: impl Into<FontKerning>) -> Style
Sets font-kerning.
Sourcepub fn font_language_override(
self,
value: impl Into<FontLanguageOverride>,
) -> Style
pub fn font_language_override( self, value: impl Into<FontLanguageOverride>, ) -> Style
Sets font-language-override.
Sourcepub fn font_optical_sizing(self, value: impl Into<FontOpticalSizing>) -> Style
pub fn font_optical_sizing(self, value: impl Into<FontOpticalSizing>) -> Style
Sets font-optical-sizing.
Sourcepub fn font_palette(self, value: impl Into<FontPalette>) -> Style
pub fn font_palette(self, value: impl Into<FontPalette>) -> Style
Sets font-palette.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_size_adjust(self, value: impl Into<FontSizeAdjust>) -> Style
pub fn font_size_adjust(self, value: impl Into<FontSizeAdjust>) -> Style
Sets font-size-adjust.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_style(self, value: impl Into<FontStyle>) -> Style
pub fn font_style(self, value: impl Into<FontStyle>) -> Style
Sets font-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_synthesis(self, value: impl Into<FontSynthesis>) -> Style
pub fn font_synthesis(self, value: impl Into<FontSynthesis>) -> Style
Sets font-synthesis.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_synthesis_small_caps(
self,
value: impl Into<FontSynthesisSmallCaps>,
) -> Style
pub fn font_synthesis_small_caps( self, value: impl Into<FontSynthesisSmallCaps>, ) -> Style
Sourcepub fn font_synthesis_style(self, value: impl Into<FontSynthesisStyle>) -> Style
pub fn font_synthesis_style(self, value: impl Into<FontSynthesisStyle>) -> Style
Sets font-synthesis-style.
Sourcepub fn font_synthesis_weight(
self,
value: impl Into<FontSynthesisWeight>,
) -> Style
pub fn font_synthesis_weight( self, value: impl Into<FontSynthesisWeight>, ) -> Style
Sets font-synthesis-weight.
Sourcepub fn font_variant(self, value: impl Into<FontVariant>) -> Style
pub fn font_variant(self, value: impl Into<FontVariant>) -> Style
Sets font-variant.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_variant_alternates(
self,
value: impl Into<FontVariantAlternates>,
) -> Style
pub fn font_variant_alternates( self, value: impl Into<FontVariantAlternates>, ) -> Style
Sets font-variant-alternates.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_variant_caps(self, value: impl Into<FontVariantCaps>) -> Style
pub fn font_variant_caps(self, value: impl Into<FontVariantCaps>) -> Style
Sets font-variant-caps.
Sourcepub fn font_variant_east_asian(
self,
value: impl Into<FontVariantEastAsian>,
) -> Style
pub fn font_variant_east_asian( self, value: impl Into<FontVariantEastAsian>, ) -> Style
Sets font-variant-east-asian.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_variant_emoji(self, value: impl Into<FontVariantEmoji>) -> Style
pub fn font_variant_emoji(self, value: impl Into<FontVariantEmoji>) -> Style
Sets font-variant-emoji.
Sourcepub fn font_variant_ligatures(
self,
value: impl Into<FontVariantLigatures>,
) -> Style
pub fn font_variant_ligatures( self, value: impl Into<FontVariantLigatures>, ) -> Style
Sets font-variant-ligatures.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_variant_numeric(self, value: impl Into<FontVariantNumeric>) -> Style
pub fn font_variant_numeric(self, value: impl Into<FontVariantNumeric>) -> Style
Sets font-variant-numeric.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_variant_position(
self,
value: impl Into<FontVariantPosition>,
) -> Style
pub fn font_variant_position( self, value: impl Into<FontVariantPosition>, ) -> Style
Sets font-variant-position.
Sourcepub fn font_variation_settings(
self,
value: impl Into<FontVariationSettings>,
) -> Style
pub fn font_variation_settings( self, value: impl Into<FontVariationSettings>, ) -> Style
Sets font-variation-settings.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn font_weight(self, value: impl Into<FontWeight>) -> Style
pub fn font_weight(self, value: impl Into<FontWeight>) -> Style
Sets font-weight.
Sourcepub fn forced_color_adjust(self, value: impl Into<ForcedColorAdjust>) -> Style
pub fn forced_color_adjust(self, value: impl Into<ForcedColorAdjust>) -> Style
Sets forced-color-adjust.
Sourcepub fn frame_sizing(self, value: impl Into<FrameSizing>) -> Style
pub fn frame_sizing(self, value: impl Into<FrameSizing>) -> Style
Sets frame-sizing.
Sourcepub fn grid_auto_columns(self, value: impl Into<GridAutoColumns>) -> Style
pub fn grid_auto_columns(self, value: impl Into<GridAutoColumns>) -> Style
Sets grid-auto-columns.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_auto_flow(self, value: impl Into<GridAutoFlow>) -> Style
pub fn grid_auto_flow(self, value: impl Into<GridAutoFlow>) -> Style
Sets grid-auto-flow.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_auto_rows(self, value: impl Into<GridAutoRows>) -> Style
pub fn grid_auto_rows(self, value: impl Into<GridAutoRows>) -> Style
Sets grid-auto-rows.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_column(self, value: impl Into<GridColumn>) -> Style
pub fn grid_column(self, value: impl Into<GridColumn>) -> Style
Sets grid-column.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_column_end(self, value: impl Into<GridColumnEnd>) -> Style
pub fn grid_column_end(self, value: impl Into<GridColumnEnd>) -> Style
Sets grid-column-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_column_start(self, value: impl Into<GridColumnStart>) -> Style
pub fn grid_column_start(self, value: impl Into<GridColumnStart>) -> Style
Sets grid-column-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_row_end(self, value: impl Into<GridRowEnd>) -> Style
pub fn grid_row_end(self, value: impl Into<GridRowEnd>) -> Style
Sets grid-row-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_row_start(self, value: impl Into<GridRowStart>) -> Style
pub fn grid_row_start(self, value: impl Into<GridRowStart>) -> Style
Sets grid-row-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_template(self, value: impl Into<GridTemplate>) -> Style
pub fn grid_template(self, value: impl Into<GridTemplate>) -> Style
Sets grid-template.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_template_areas(self, value: impl Into<GridTemplateAreas>) -> Style
pub fn grid_template_areas(self, value: impl Into<GridTemplateAreas>) -> Style
Sets grid-template-areas.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_template_columns(
self,
value: impl Into<GridTemplateColumns>,
) -> Style
pub fn grid_template_columns( self, value: impl Into<GridTemplateColumns>, ) -> Style
Sets grid-template-columns.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn grid_template_rows(self, value: impl Into<GridTemplateRows>) -> Style
pub fn grid_template_rows(self, value: impl Into<GridTemplateRows>) -> Style
Sets grid-template-rows.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn hanging_punctuation(self, value: impl Into<HangingPunctuation>) -> Style
pub fn hanging_punctuation(self, value: impl Into<HangingPunctuation>) -> Style
Sets hanging-punctuation.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn hyphenate_character(self, value: impl Into<HyphenateCharacter>) -> Style
pub fn hyphenate_character(self, value: impl Into<HyphenateCharacter>) -> Style
Sets hyphenate-character.
Sourcepub fn hyphenate_limit_chars(
self,
value: impl Into<HyphenateLimitChars>,
) -> Style
pub fn hyphenate_limit_chars( self, value: impl Into<HyphenateLimitChars>, ) -> Style
Sets hyphenate-limit-chars.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn image_orientation(self, value: impl Into<ImageOrientation>) -> Style
pub fn image_orientation(self, value: impl Into<ImageOrientation>) -> Style
Sets image-orientation.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn image_rendering(self, value: impl Into<ImageRendering>) -> Style
pub fn image_rendering(self, value: impl Into<ImageRendering>) -> Style
Sets image-rendering.
Sourcepub fn initial_letter(self, value: impl Into<InitialLetter>) -> Style
pub fn initial_letter(self, value: impl Into<InitialLetter>) -> Style
Sets initial-letter.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inline_size(self, value: impl Into<InlineSize>) -> Style
pub fn inline_size(self, value: impl Into<InlineSize>) -> Style
Sets inline-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_block(self, value: impl Into<InsetBlock>) -> Style
pub fn inset_block(self, value: impl Into<InsetBlock>) -> Style
Sets inset-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_block_end(self, value: impl Into<InsetBlockEnd>) -> Style
pub fn inset_block_end(self, value: impl Into<InsetBlockEnd>) -> Style
Sets inset-block-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_block_start(self, value: impl Into<InsetBlockStart>) -> Style
pub fn inset_block_start(self, value: impl Into<InsetBlockStart>) -> Style
Sets inset-block-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_inline(self, value: impl Into<InsetInline>) -> Style
pub fn inset_inline(self, value: impl Into<InsetInline>) -> Style
Sets inset-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_inline_end(self, value: impl Into<InsetInlineEnd>) -> Style
pub fn inset_inline_end(self, value: impl Into<InsetInlineEnd>) -> Style
Sets inset-inline-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn inset_inline_start(self, value: impl Into<InsetInlineStart>) -> Style
pub fn inset_inline_start(self, value: impl Into<InsetInlineStart>) -> Style
Sets inset-inline-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn interactivity(self, value: impl Into<Interactivity>) -> Style
pub fn interactivity(self, value: impl Into<Interactivity>) -> Style
Sets interactivity.
Sourcepub fn interest_delay(self, value: impl Into<InterestDelay>) -> Style
pub fn interest_delay(self, value: impl Into<InterestDelay>) -> Style
Sets interest-delay.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn interest_delay_end(self, value: impl Into<InterestDelayEnd>) -> Style
pub fn interest_delay_end(self, value: impl Into<InterestDelayEnd>) -> Style
Sets interest-delay-end.
Sourcepub fn interest_delay_start(self, value: impl Into<InterestDelayStart>) -> Style
pub fn interest_delay_start(self, value: impl Into<InterestDelayStart>) -> Style
Sets interest-delay-start.
Sourcepub fn justify_content(self, value: impl Into<JustifyContent>) -> Style
pub fn justify_content(self, value: impl Into<JustifyContent>) -> Style
Sets justify-content.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn justify_items(self, value: impl Into<JustifyItems>) -> Style
pub fn justify_items(self, value: impl Into<JustifyItems>) -> Style
Sets justify-items.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn justify_self(self, value: impl Into<JustifySelf>) -> Style
pub fn justify_self(self, value: impl Into<JustifySelf>) -> Style
Sets justify-self.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn letter_spacing(self, value: impl Into<LetterSpacing>) -> Style
pub fn letter_spacing(self, value: impl Into<LetterSpacing>) -> Style
Sets letter-spacing.
Sourcepub fn lighting_color(self, value: impl Into<Color>) -> Style
pub fn lighting_color(self, value: impl Into<Color>) -> Style
Sets lighting-color.
Sourcepub fn line_break(self, value: impl Into<LineBreak>) -> Style
pub fn line_break(self, value: impl Into<LineBreak>) -> Style
Sets line-break.
Sourcepub fn line_clamp(self, value: impl Into<LineClamp>) -> Style
pub fn line_clamp(self, value: impl Into<LineClamp>) -> Style
Sets line-clamp.
Sourcepub fn line_height(self, value: impl Into<LineHeight>) -> Style
pub fn line_height(self, value: impl Into<LineHeight>) -> Style
Sets line-height.
Sourcepub fn list_style(self, value: impl Into<ListStyle>) -> Style
pub fn list_style(self, value: impl Into<ListStyle>) -> Style
Sets list-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn list_style_image(self, value: impl Into<ListStyleImage>) -> Style
pub fn list_style_image(self, value: impl Into<ListStyleImage>) -> Style
Sets list-style-image.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn list_style_position(self, value: impl Into<ListStylePosition>) -> Style
pub fn list_style_position(self, value: impl Into<ListStylePosition>) -> Style
Sets list-style-position.
Sourcepub fn list_style_type(self, value: impl Into<ListStyleType>) -> Style
pub fn list_style_type(self, value: impl Into<ListStyleType>) -> Style
Sets list-style-type.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_block(self, value: impl Into<MarginBlock>) -> Style
pub fn margin_block(self, value: impl Into<MarginBlock>) -> Style
Sets margin-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_block_end(self, value: impl Into<MarginBlockEnd>) -> Style
pub fn margin_block_end(self, value: impl Into<MarginBlockEnd>) -> Style
Sets margin-block-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_block_start(self, value: impl Into<MarginBlockStart>) -> Style
pub fn margin_block_start(self, value: impl Into<MarginBlockStart>) -> Style
Sets margin-block-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_bottom(self, value: impl Into<MarginBottom>) -> Style
pub fn margin_bottom(self, value: impl Into<MarginBottom>) -> Style
Sets margin-bottom.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_inline(self, value: impl Into<MarginInline>) -> Style
pub fn margin_inline(self, value: impl Into<MarginInline>) -> Style
Sets margin-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_inline_end(self, value: impl Into<MarginInlineEnd>) -> Style
pub fn margin_inline_end(self, value: impl Into<MarginInlineEnd>) -> Style
Sets margin-inline-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_inline_start(self, value: impl Into<MarginInlineStart>) -> Style
pub fn margin_inline_start(self, value: impl Into<MarginInlineStart>) -> Style
Sets margin-inline-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_left(self, value: impl Into<MarginLeft>) -> Style
pub fn margin_left(self, value: impl Into<MarginLeft>) -> Style
Sets margin-left.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_right(self, value: impl Into<MarginRight>) -> Style
pub fn margin_right(self, value: impl Into<MarginRight>) -> Style
Sets margin-right.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn margin_top(self, value: impl Into<MarginTop>) -> Style
pub fn margin_top(self, value: impl Into<MarginTop>) -> Style
Sets margin-top.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn marker_end(self, value: impl Into<MarkerEnd>) -> Style
pub fn marker_end(self, value: impl Into<MarkerEnd>) -> Style
Sets marker-end.
Sourcepub fn marker_mid(self, value: impl Into<MarkerMid>) -> Style
pub fn marker_mid(self, value: impl Into<MarkerMid>) -> Style
Sets marker-mid.
Sourcepub fn marker_start(self, value: impl Into<MarkerStart>) -> Style
pub fn marker_start(self, value: impl Into<MarkerStart>) -> Style
Sets marker-start.
Sourcepub fn mask_border(self, value: impl Into<MaskBorder>) -> Style
pub fn mask_border(self, value: impl Into<MaskBorder>) -> Style
Sets mask-border.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_border_mode(self, value: impl Into<MaskBorderMode>) -> Style
pub fn mask_border_mode(self, value: impl Into<MaskBorderMode>) -> Style
Sets mask-border-mode.
Sourcepub fn mask_border_outset(self, value: impl Into<MaskBorderOutset>) -> Style
pub fn mask_border_outset(self, value: impl Into<MaskBorderOutset>) -> Style
Sets mask-border-outset.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_border_repeat(self, value: impl Into<MaskBorderRepeat>) -> Style
pub fn mask_border_repeat(self, value: impl Into<MaskBorderRepeat>) -> Style
Sets mask-border-repeat.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_border_slice(self, value: impl Into<MaskBorderSlice>) -> Style
pub fn mask_border_slice(self, value: impl Into<MaskBorderSlice>) -> Style
Sets mask-border-slice.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_border_source(self, value: impl Into<MaskBorderSource>) -> Style
pub fn mask_border_source(self, value: impl Into<MaskBorderSource>) -> Style
Sets mask-border-source.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_border_width(self, value: impl Into<MaskBorderWidth>) -> Style
pub fn mask_border_width(self, value: impl Into<MaskBorderWidth>) -> Style
Sets mask-border-width.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_composite(self, value: impl Into<MaskComposite>) -> Style
pub fn mask_composite(self, value: impl Into<MaskComposite>) -> Style
Sets mask-composite.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_image(self, value: impl Into<MaskImage>) -> Style
pub fn mask_image(self, value: impl Into<MaskImage>) -> Style
Sets mask-image.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_origin(self, value: impl Into<MaskOrigin>) -> Style
pub fn mask_origin(self, value: impl Into<MaskOrigin>) -> Style
Sets mask-origin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_position(self, value: impl Into<MaskPosition>) -> Style
pub fn mask_position(self, value: impl Into<MaskPosition>) -> Style
Sets mask-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mask_repeat(self, value: impl Into<MaskRepeat>) -> Style
pub fn mask_repeat(self, value: impl Into<MaskRepeat>) -> Style
Sets mask-repeat.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn math_depth(self, value: impl Into<MathDepth>) -> Style
pub fn math_depth(self, value: impl Into<MathDepth>) -> Style
Sets math-depth.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn math_style(self, value: impl Into<MathStyle>) -> Style
pub fn math_style(self, value: impl Into<MathStyle>) -> Style
Sets math-style.
Sourcepub fn max_block_size(self, value: impl Into<MaxBlockSize>) -> Style
pub fn max_block_size(self, value: impl Into<MaxBlockSize>) -> Style
Sets max-block-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn max_height(self, value: impl Into<MaxHeight>) -> Style
pub fn max_height(self, value: impl Into<MaxHeight>) -> Style
Sets max-height.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn max_inline_size(self, value: impl Into<MaxInlineSize>) -> Style
pub fn max_inline_size(self, value: impl Into<MaxInlineSize>) -> Style
Sets max-inline-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn min_block_size(self, value: impl Into<MinBlockSize>) -> Style
pub fn min_block_size(self, value: impl Into<MinBlockSize>) -> Style
Sets min-block-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn min_height(self, value: impl Into<MinHeight>) -> Style
pub fn min_height(self, value: impl Into<MinHeight>) -> Style
Sets min-height.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn min_inline_size(self, value: impl Into<MinInlineSize>) -> Style
pub fn min_inline_size(self, value: impl Into<MinInlineSize>) -> Style
Sets min-inline-size.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn mix_blend_mode(self, value: impl Into<MixBlendMode>) -> Style
pub fn mix_blend_mode(self, value: impl Into<MixBlendMode>) -> Style
Sets mix-blend-mode.
Sourcepub fn object_fit(self, value: impl Into<ObjectFit>) -> Style
pub fn object_fit(self, value: impl Into<ObjectFit>) -> Style
Sets object-fit.
Sourcepub fn object_position(self, value: impl Into<ObjectPosition>) -> Style
pub fn object_position(self, value: impl Into<ObjectPosition>) -> Style
Sets object-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn offset_anchor(self, value: impl Into<OffsetAnchor>) -> Style
pub fn offset_anchor(self, value: impl Into<OffsetAnchor>) -> Style
Sets offset-anchor.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn offset_distance(self, value: impl Into<OffsetDistance>) -> Style
pub fn offset_distance(self, value: impl Into<OffsetDistance>) -> Style
Sets offset-distance.
Sourcepub fn offset_path(self, value: impl Into<OffsetPath>) -> Style
pub fn offset_path(self, value: impl Into<OffsetPath>) -> Style
Sets offset-path.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn offset_position(self, value: impl Into<OffsetPosition>) -> Style
pub fn offset_position(self, value: impl Into<OffsetPosition>) -> Style
Sets offset-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn offset_rotate(self, value: impl Into<OffsetRotate>) -> Style
pub fn offset_rotate(self, value: impl Into<OffsetRotate>) -> Style
Sets offset-rotate.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn outline_color(self, value: impl Into<OutlineColor>) -> Style
pub fn outline_color(self, value: impl Into<OutlineColor>) -> Style
Sets outline-color.
Sourcepub fn outline_offset(self, value: impl Into<Length>) -> Style
pub fn outline_offset(self, value: impl Into<Length>) -> Style
Sets outline-offset.
Sourcepub fn outline_style(self, value: impl Into<OutlineStyle>) -> Style
pub fn outline_style(self, value: impl Into<OutlineStyle>) -> Style
Sets outline-style.
Sourcepub fn outline_width(self, value: impl Into<OutlineWidth>) -> Style
pub fn outline_width(self, value: impl Into<OutlineWidth>) -> Style
Sets outline-width.
Sourcepub fn overflow_anchor(self, value: impl Into<OverflowAnchor>) -> Style
pub fn overflow_anchor(self, value: impl Into<OverflowAnchor>) -> Style
Sets overflow-anchor.
Sourcepub fn overflow_block(self, value: impl Into<OverflowBlock>) -> Style
pub fn overflow_block(self, value: impl Into<OverflowBlock>) -> Style
Sets overflow-block.
Sourcepub fn overflow_clip_margin(self, value: impl Into<OverflowClipMargin>) -> Style
pub fn overflow_clip_margin(self, value: impl Into<OverflowClipMargin>) -> Style
Sets overflow-clip-margin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn overflow_inline(self, value: impl Into<OverflowInline>) -> Style
pub fn overflow_inline(self, value: impl Into<OverflowInline>) -> Style
Sets overflow-inline.
Sourcepub fn overflow_wrap(self, value: impl Into<OverflowWrap>) -> Style
pub fn overflow_wrap(self, value: impl Into<OverflowWrap>) -> Style
Sets overflow-wrap.
Sourcepub fn overflow_x(self, value: impl Into<OverflowX>) -> Style
pub fn overflow_x(self, value: impl Into<OverflowX>) -> Style
Sets overflow-x.
Sourcepub fn overflow_y(self, value: impl Into<OverflowY>) -> Style
pub fn overflow_y(self, value: impl Into<OverflowY>) -> Style
Sets overflow-y.
Sourcepub fn overscroll_behavior(self, value: impl Into<OverscrollBehavior>) -> Style
pub fn overscroll_behavior(self, value: impl Into<OverscrollBehavior>) -> Style
Sets overscroll-behavior.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn overscroll_behavior_block(
self,
value: impl Into<OverscrollBehaviorBlock>,
) -> Style
pub fn overscroll_behavior_block( self, value: impl Into<OverscrollBehaviorBlock>, ) -> Style
Sourcepub fn overscroll_behavior_inline(
self,
value: impl Into<OverscrollBehaviorInline>,
) -> Style
pub fn overscroll_behavior_inline( self, value: impl Into<OverscrollBehaviorInline>, ) -> Style
Sourcepub fn overscroll_behavior_x(
self,
value: impl Into<OverscrollBehaviorX>,
) -> Style
pub fn overscroll_behavior_x( self, value: impl Into<OverscrollBehaviorX>, ) -> Style
Sets overscroll-behavior-x.
Sourcepub fn overscroll_behavior_y(
self,
value: impl Into<OverscrollBehaviorY>,
) -> Style
pub fn overscroll_behavior_y( self, value: impl Into<OverscrollBehaviorY>, ) -> Style
Sets overscroll-behavior-y.
Sourcepub fn padding_block(self, value: impl Into<PaddingBlock>) -> Style
pub fn padding_block(self, value: impl Into<PaddingBlock>) -> Style
Sets padding-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn padding_block_end(self, value: impl Into<PaddingBlockEnd>) -> Style
pub fn padding_block_end(self, value: impl Into<PaddingBlockEnd>) -> Style
Sets padding-block-end.
Sourcepub fn padding_block_start(self, value: impl Into<PaddingBlockStart>) -> Style
pub fn padding_block_start(self, value: impl Into<PaddingBlockStart>) -> Style
Sets padding-block-start.
Sourcepub fn padding_bottom(self, value: impl Into<PaddingBottom>) -> Style
pub fn padding_bottom(self, value: impl Into<PaddingBottom>) -> Style
Sets padding-bottom.
Sourcepub fn padding_inline(self, value: impl Into<PaddingInline>) -> Style
pub fn padding_inline(self, value: impl Into<PaddingInline>) -> Style
Sets padding-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn padding_inline_end(self, value: impl Into<PaddingInlineEnd>) -> Style
pub fn padding_inline_end(self, value: impl Into<PaddingInlineEnd>) -> Style
Sets padding-inline-end.
Sourcepub fn padding_inline_start(self, value: impl Into<PaddingInlineStart>) -> Style
pub fn padding_inline_start(self, value: impl Into<PaddingInlineStart>) -> Style
Sets padding-inline-start.
Sourcepub fn padding_left(self, value: impl Into<PaddingLeft>) -> Style
pub fn padding_left(self, value: impl Into<PaddingLeft>) -> Style
Sets padding-left.
Sourcepub fn padding_right(self, value: impl Into<PaddingRight>) -> Style
pub fn padding_right(self, value: impl Into<PaddingRight>) -> Style
Sets padding-right.
Sourcepub fn padding_top(self, value: impl Into<PaddingTop>) -> Style
pub fn padding_top(self, value: impl Into<PaddingTop>) -> Style
Sets padding-top.
Sourcepub fn paint_order(self, value: impl Into<PaintOrder>) -> Style
pub fn paint_order(self, value: impl Into<PaintOrder>) -> Style
Sets paint-order.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn path_length(self, value: impl Into<PathLength>) -> Style
pub fn path_length(self, value: impl Into<PathLength>) -> Style
Sets path-length.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn perspective(self, value: impl Into<Perspective>) -> Style
pub fn perspective(self, value: impl Into<Perspective>) -> Style
Sets perspective.
Sourcepub fn perspective_origin(self, value: impl Into<PerspectiveOrigin>) -> Style
pub fn perspective_origin(self, value: impl Into<PerspectiveOrigin>) -> Style
Sets perspective-origin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn place_content(self, value: impl Into<PlaceContent>) -> Style
pub fn place_content(self, value: impl Into<PlaceContent>) -> Style
Sets place-content.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn place_items(self, value: impl Into<PlaceItems>) -> Style
pub fn place_items(self, value: impl Into<PlaceItems>) -> Style
Sets place-items.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn place_self(self, value: impl Into<PlaceSelf>) -> Style
pub fn place_self(self, value: impl Into<PlaceSelf>) -> Style
Sets place-self.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn pointer_events(self, value: impl Into<PointerEvents>) -> Style
pub fn pointer_events(self, value: impl Into<PointerEvents>) -> Style
Sets pointer-events.
Sourcepub fn position_anchor(self, value: impl Into<PositionAnchor>) -> Style
pub fn position_anchor(self, value: impl Into<PositionAnchor>) -> Style
Sets position-anchor.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn position_area(self, value: impl Into<PositionArea>) -> Style
pub fn position_area(self, value: impl Into<PositionArea>) -> Style
Sets position-area.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn position_try_fallbacks(
self,
value: impl Into<PositionTryFallbacks>,
) -> Style
pub fn position_try_fallbacks( self, value: impl Into<PositionTryFallbacks>, ) -> Style
Sets position-try-fallbacks.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn print_color_adjust(self, value: impl Into<PrintColorAdjust>) -> Style
pub fn print_color_adjust(self, value: impl Into<PrintColorAdjust>) -> Style
Sets print-color-adjust.
Sourcepub fn reading_flow(self, value: impl Into<ReadingFlow>) -> Style
pub fn reading_flow(self, value: impl Into<ReadingFlow>) -> Style
Sets reading-flow.
Sourcepub fn reading_order(self, value: impl Into<i32>) -> Style
pub fn reading_order(self, value: impl Into<i32>) -> Style
Sets reading-order.
Sourcepub fn ruby_align(self, value: impl Into<RubyAlign>) -> Style
pub fn ruby_align(self, value: impl Into<RubyAlign>) -> Style
Sets ruby-align.
Sourcepub fn ruby_overhang(self, value: impl Into<RubyOverhang>) -> Style
pub fn ruby_overhang(self, value: impl Into<RubyOverhang>) -> Style
Sets ruby-overhang.
Sourcepub fn ruby_position(self, value: impl Into<RubyPosition>) -> Style
pub fn ruby_position(self, value: impl Into<RubyPosition>) -> Style
Sets ruby-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_axis_lock(self, value: impl Into<ScrollAxisLock>) -> Style
pub fn scroll_axis_lock(self, value: impl Into<ScrollAxisLock>) -> Style
Sets scroll-axis-lock.
Sourcepub fn scroll_behavior(self, value: impl Into<ScrollBehavior>) -> Style
pub fn scroll_behavior(self, value: impl Into<ScrollBehavior>) -> Style
Sets scroll-behavior.
Sourcepub fn scroll_margin(self, value: impl Into<ScrollMargin>) -> Style
pub fn scroll_margin(self, value: impl Into<ScrollMargin>) -> Style
Sets scroll-margin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_margin_block(self, value: impl Into<ScrollMarginBlock>) -> Style
pub fn scroll_margin_block(self, value: impl Into<ScrollMarginBlock>) -> Style
Sets scroll-margin-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_margin_block_end(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_block_end(self, value: impl Into<Length>) -> Style
Sets scroll-margin-block-end.
Sourcepub fn scroll_margin_block_start(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_block_start(self, value: impl Into<Length>) -> Style
Sourcepub fn scroll_margin_bottom(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_bottom(self, value: impl Into<Length>) -> Style
Sets scroll-margin-bottom.
Sourcepub fn scroll_margin_inline(self, value: impl Into<ScrollMarginInline>) -> Style
pub fn scroll_margin_inline(self, value: impl Into<ScrollMarginInline>) -> Style
Sets scroll-margin-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_margin_inline_end(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_inline_end(self, value: impl Into<Length>) -> Style
Sets scroll-margin-inline-end.
Sourcepub fn scroll_margin_inline_start(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_inline_start(self, value: impl Into<Length>) -> Style
Sourcepub fn scroll_margin_left(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_left(self, value: impl Into<Length>) -> Style
Sets scroll-margin-left.
Sourcepub fn scroll_margin_right(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_right(self, value: impl Into<Length>) -> Style
Sets scroll-margin-right.
Sourcepub fn scroll_margin_top(self, value: impl Into<Length>) -> Style
pub fn scroll_margin_top(self, value: impl Into<Length>) -> Style
Sets scroll-margin-top.
Sourcepub fn scroll_marker_group(self, value: impl Into<ScrollMarkerGroup>) -> Style
pub fn scroll_marker_group(self, value: impl Into<ScrollMarkerGroup>) -> Style
Sets scroll-marker-group.
Sourcepub fn scroll_padding(self, value: impl Into<ScrollPadding>) -> Style
pub fn scroll_padding(self, value: impl Into<ScrollPadding>) -> Style
Sets scroll-padding.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_padding_block(self, value: impl Into<ScrollPaddingBlock>) -> Style
pub fn scroll_padding_block(self, value: impl Into<ScrollPaddingBlock>) -> Style
Sets scroll-padding-block.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_padding_block_end(
self,
value: impl Into<ScrollPaddingBlockEnd>,
) -> Style
pub fn scroll_padding_block_end( self, value: impl Into<ScrollPaddingBlockEnd>, ) -> Style
Sets scroll-padding-block-end.
Sourcepub fn scroll_padding_block_start(
self,
value: impl Into<ScrollPaddingBlockStart>,
) -> Style
pub fn scroll_padding_block_start( self, value: impl Into<ScrollPaddingBlockStart>, ) -> Style
Sourcepub fn scroll_padding_bottom(
self,
value: impl Into<ScrollPaddingBottom>,
) -> Style
pub fn scroll_padding_bottom( self, value: impl Into<ScrollPaddingBottom>, ) -> Style
Sets scroll-padding-bottom.
Sourcepub fn scroll_padding_inline(
self,
value: impl Into<ScrollPaddingInline>,
) -> Style
pub fn scroll_padding_inline( self, value: impl Into<ScrollPaddingInline>, ) -> Style
Sets scroll-padding-inline.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_padding_inline_end(
self,
value: impl Into<ScrollPaddingInlineEnd>,
) -> Style
pub fn scroll_padding_inline_end( self, value: impl Into<ScrollPaddingInlineEnd>, ) -> Style
Sourcepub fn scroll_padding_inline_start(
self,
value: impl Into<ScrollPaddingInlineStart>,
) -> Style
pub fn scroll_padding_inline_start( self, value: impl Into<ScrollPaddingInlineStart>, ) -> Style
Sourcepub fn scroll_padding_left(self, value: impl Into<ScrollPaddingLeft>) -> Style
pub fn scroll_padding_left(self, value: impl Into<ScrollPaddingLeft>) -> Style
Sets scroll-padding-left.
Sourcepub fn scroll_padding_right(self, value: impl Into<ScrollPaddingRight>) -> Style
pub fn scroll_padding_right(self, value: impl Into<ScrollPaddingRight>) -> Style
Sets scroll-padding-right.
Sourcepub fn scroll_padding_top(self, value: impl Into<ScrollPaddingTop>) -> Style
pub fn scroll_padding_top(self, value: impl Into<ScrollPaddingTop>) -> Style
Sets scroll-padding-top.
Sourcepub fn scroll_snap_align(self, value: impl Into<ScrollSnapAlign>) -> Style
pub fn scroll_snap_align(self, value: impl Into<ScrollSnapAlign>) -> Style
Sets scroll-snap-align.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_snap_stop(self, value: impl Into<ScrollSnapStop>) -> Style
pub fn scroll_snap_stop(self, value: impl Into<ScrollSnapStop>) -> Style
Sets scroll-snap-stop.
Sourcepub fn scroll_snap_type(self, value: impl Into<ScrollSnapType>) -> Style
pub fn scroll_snap_type(self, value: impl Into<ScrollSnapType>) -> Style
Sets scroll-snap-type.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scroll_target_group(self, value: impl Into<ScrollTargetGroup>) -> Style
pub fn scroll_target_group(self, value: impl Into<ScrollTargetGroup>) -> Style
Sets scroll-target-group.
Sourcepub fn scrollbar_color(self, value: impl Into<ScrollbarColor>) -> Style
pub fn scrollbar_color(self, value: impl Into<ScrollbarColor>) -> Style
Sets scrollbar-color.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scrollbar_gutter(self, value: impl Into<ScrollbarGutter>) -> Style
pub fn scrollbar_gutter(self, value: impl Into<ScrollbarGutter>) -> Style
Sets scrollbar-gutter.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn scrollbar_width(self, value: impl Into<ScrollbarWidth>) -> Style
pub fn scrollbar_width(self, value: impl Into<ScrollbarWidth>) -> Style
Sets scrollbar-width.
Sourcepub fn shape_image_threshold(
self,
value: impl Into<ShapeImageThreshold>,
) -> Style
pub fn shape_image_threshold( self, value: impl Into<ShapeImageThreshold>, ) -> Style
Sets shape-image-threshold.
Sourcepub fn shape_margin(self, value: impl Into<ShapeMargin>) -> Style
pub fn shape_margin(self, value: impl Into<ShapeMargin>) -> Style
Sets shape-margin.
Sourcepub fn shape_outside(self, value: impl Into<ShapeOutside>) -> Style
pub fn shape_outside(self, value: impl Into<ShapeOutside>) -> Style
Sets shape-outside.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn shape_rendering(self, value: impl Into<ShapeRendering>) -> Style
pub fn shape_rendering(self, value: impl Into<ShapeRendering>) -> Style
Sets shape-rendering.
Sourcepub fn stop_color(self, value: impl Into<Color>) -> Style
pub fn stop_color(self, value: impl Into<Color>) -> Style
Sets stop-color.
Sourcepub fn stop_opacity(self, value: impl Into<StopOpacity>) -> Style
pub fn stop_opacity(self, value: impl Into<StopOpacity>) -> Style
Sets stop-opacity.
Sourcepub fn stroke_dasharray(self, value: impl Into<StrokeDasharray>) -> Style
pub fn stroke_dasharray(self, value: impl Into<StrokeDasharray>) -> Style
Sets stroke-dasharray.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn stroke_dashoffset(self, value: impl Into<StrokeDashoffset>) -> Style
pub fn stroke_dashoffset(self, value: impl Into<StrokeDashoffset>) -> Style
Sets stroke-dashoffset.
Sourcepub fn stroke_linecap(self, value: impl Into<StrokeLinecap>) -> Style
pub fn stroke_linecap(self, value: impl Into<StrokeLinecap>) -> Style
Sets stroke-linecap.
Sourcepub fn stroke_linejoin(self, value: impl Into<StrokeLinejoin>) -> Style
pub fn stroke_linejoin(self, value: impl Into<StrokeLinejoin>) -> Style
Sets stroke-linejoin.
Sourcepub fn stroke_miterlimit(self, value: impl Into<f64>) -> Style
pub fn stroke_miterlimit(self, value: impl Into<f64>) -> Style
Sets stroke-miterlimit.
Sourcepub fn stroke_opacity(self, value: impl Into<StrokeOpacity>) -> Style
pub fn stroke_opacity(self, value: impl Into<StrokeOpacity>) -> Style
Sets stroke-opacity.
Sourcepub fn stroke_width(self, value: impl Into<StrokeWidth>) -> Style
pub fn stroke_width(self, value: impl Into<StrokeWidth>) -> Style
Sets stroke-width.
Sourcepub fn table_layout(self, value: impl Into<TableLayout>) -> Style
pub fn table_layout(self, value: impl Into<TableLayout>) -> Style
Sets table-layout.
Sourcepub fn text_align(self, value: impl Into<TextAlign>) -> Style
pub fn text_align(self, value: impl Into<TextAlign>) -> Style
Sets text-align.
Sourcepub fn text_align_last(self, value: impl Into<TextAlignLast>) -> Style
pub fn text_align_last(self, value: impl Into<TextAlignLast>) -> Style
Sets text-align-last.
Sourcepub fn text_anchor(self, value: impl Into<TextAnchor>) -> Style
pub fn text_anchor(self, value: impl Into<TextAnchor>) -> Style
Sets text-anchor.
Sourcepub fn text_autospace(self, value: impl Into<TextAutospace>) -> Style
pub fn text_autospace(self, value: impl Into<TextAutospace>) -> Style
Sets text-autospace.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_box_edge(self, value: impl Into<TextBoxEdge>) -> Style
pub fn text_box_edge(self, value: impl Into<TextBoxEdge>) -> Style
Sets text-box-edge.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_box_trim(self, value: impl Into<TextBoxTrim>) -> Style
pub fn text_box_trim(self, value: impl Into<TextBoxTrim>) -> Style
Sets text-box-trim.
Sourcepub fn text_combine_upright(self, value: impl Into<TextCombineUpright>) -> Style
pub fn text_combine_upright(self, value: impl Into<TextCombineUpright>) -> Style
Sets text-combine-upright.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_decoration(self, value: impl Into<TextDecoration>) -> Style
pub fn text_decoration(self, value: impl Into<TextDecoration>) -> Style
Sets text-decoration.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_decoration_color(self, value: impl Into<Color>) -> Style
pub fn text_decoration_color(self, value: impl Into<Color>) -> Style
Sets text-decoration-color.
Sourcepub fn text_decoration_inset(
self,
value: impl Into<TextDecorationInset>,
) -> Style
pub fn text_decoration_inset( self, value: impl Into<TextDecorationInset>, ) -> Style
Sets text-decoration-inset.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_decoration_line(self, value: impl Into<TextDecorationLine>) -> Style
pub fn text_decoration_line(self, value: impl Into<TextDecorationLine>) -> Style
Sets text-decoration-line.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_decoration_skip_ink(
self,
value: impl Into<TextDecorationSkipInk>,
) -> Style
pub fn text_decoration_skip_ink( self, value: impl Into<TextDecorationSkipInk>, ) -> Style
Sets text-decoration-skip-ink.
Sourcepub fn text_decoration_style(
self,
value: impl Into<TextDecorationStyle>,
) -> Style
pub fn text_decoration_style( self, value: impl Into<TextDecorationStyle>, ) -> Style
Sets text-decoration-style.
Sourcepub fn text_decoration_thickness(
self,
value: impl Into<TextDecorationThickness>,
) -> Style
pub fn text_decoration_thickness( self, value: impl Into<TextDecorationThickness>, ) -> Style
Sourcepub fn text_emphasis(self, value: impl Into<TextEmphasis>) -> Style
pub fn text_emphasis(self, value: impl Into<TextEmphasis>) -> Style
Sets text-emphasis.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_emphasis_color(self, value: impl Into<Color>) -> Style
pub fn text_emphasis_color(self, value: impl Into<Color>) -> Style
Sets text-emphasis-color.
Sourcepub fn text_emphasis_position(
self,
value: impl Into<TextEmphasisPosition>,
) -> Style
pub fn text_emphasis_position( self, value: impl Into<TextEmphasisPosition>, ) -> Style
Sets text-emphasis-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_emphasis_style(self, value: impl Into<TextEmphasisStyle>) -> Style
pub fn text_emphasis_style(self, value: impl Into<TextEmphasisStyle>) -> Style
Sets text-emphasis-style.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_indent(self, value: impl Into<TextIndent>) -> Style
pub fn text_indent(self, value: impl Into<TextIndent>) -> Style
Sets text-indent.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_justify(self, value: impl Into<TextJustify>) -> Style
pub fn text_justify(self, value: impl Into<TextJustify>) -> Style
Sets text-justify.
Sourcepub fn text_orientation(self, value: impl Into<TextOrientation>) -> Style
pub fn text_orientation(self, value: impl Into<TextOrientation>) -> Style
Sets text-orientation.
Sourcepub fn text_overflow(self, value: impl Into<TextOverflow>) -> Style
pub fn text_overflow(self, value: impl Into<TextOverflow>) -> Style
Sets text-overflow.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_rendering(self, value: impl Into<TextRendering>) -> Style
pub fn text_rendering(self, value: impl Into<TextRendering>) -> Style
Sets text-rendering.
Sourcepub fn text_shadow(self, value: impl Into<TextShadow>) -> Style
pub fn text_shadow(self, value: impl Into<TextShadow>) -> Style
Sets text-shadow.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_transform(self, value: impl Into<TextTransform>) -> Style
pub fn text_transform(self, value: impl Into<TextTransform>) -> Style
Sets text-transform.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_underline_offset(
self,
value: impl Into<TextUnderlineOffset>,
) -> Style
pub fn text_underline_offset( self, value: impl Into<TextUnderlineOffset>, ) -> Style
Sets text-underline-offset.
Sourcepub fn text_underline_position(
self,
value: impl Into<TextUnderlinePosition>,
) -> Style
pub fn text_underline_position( self, value: impl Into<TextUnderlinePosition>, ) -> Style
Sets text-underline-position.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn text_wrap_mode(self, value: impl Into<TextWrapMode>) -> Style
pub fn text_wrap_mode(self, value: impl Into<TextWrapMode>) -> Style
Sets text-wrap-mode.
Sourcepub fn text_wrap_style(self, value: impl Into<TextWrapStyle>) -> Style
pub fn text_wrap_style(self, value: impl Into<TextWrapStyle>) -> Style
Sets text-wrap-style.
Sourcepub fn timeline_trigger(self, value: impl Into<TimelineTrigger>) -> Style
pub fn timeline_trigger(self, value: impl Into<TimelineTrigger>) -> Style
Sets timeline-trigger.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_activation_range(
self,
value: impl Into<TimelineTriggerActivationRange>,
) -> Style
pub fn timeline_trigger_activation_range( self, value: impl Into<TimelineTriggerActivationRange>, ) -> Style
Sets timeline-trigger-activation-range.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_activation_range_end(
self,
value: impl Into<TimelineTriggerActivationRangeEnd>,
) -> Style
pub fn timeline_trigger_activation_range_end( self, value: impl Into<TimelineTriggerActivationRangeEnd>, ) -> Style
Sets timeline-trigger-activation-range-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_activation_range_start(
self,
value: impl Into<TimelineTriggerActivationRangeStart>,
) -> Style
pub fn timeline_trigger_activation_range_start( self, value: impl Into<TimelineTriggerActivationRangeStart>, ) -> Style
Sets timeline-trigger-activation-range-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_active_range(
self,
value: impl Into<TimelineTriggerActiveRange>,
) -> Style
pub fn timeline_trigger_active_range( self, value: impl Into<TimelineTriggerActiveRange>, ) -> Style
Sets timeline-trigger-active-range.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_active_range_end(
self,
value: impl Into<TimelineTriggerActiveRangeEnd>,
) -> Style
pub fn timeline_trigger_active_range_end( self, value: impl Into<TimelineTriggerActiveRangeEnd>, ) -> Style
Sets timeline-trigger-active-range-end.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_active_range_start(
self,
value: impl Into<TimelineTriggerActiveRangeStart>,
) -> Style
pub fn timeline_trigger_active_range_start( self, value: impl Into<TimelineTriggerActiveRangeStart>, ) -> Style
Sets timeline-trigger-active-range-start.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_name(
self,
value: impl Into<TimelineTriggerName>,
) -> Style
pub fn timeline_trigger_name( self, value: impl Into<TimelineTriggerName>, ) -> Style
Sets timeline-trigger-name.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn timeline_trigger_source(
self,
value: impl Into<TimelineTriggerSource>,
) -> Style
pub fn timeline_trigger_source( self, value: impl Into<TimelineTriggerSource>, ) -> Style
Sets timeline-trigger-source.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn touch_action(self, value: impl Into<TouchAction>) -> Style
pub fn touch_action(self, value: impl Into<TouchAction>) -> Style
Sets touch-action.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transform_box(self, value: impl Into<TransformBox>) -> Style
pub fn transform_box(self, value: impl Into<TransformBox>) -> Style
Sets transform-box.
Sourcepub fn transform_origin(self, value: impl Into<TransformOrigin>) -> Style
pub fn transform_origin(self, value: impl Into<TransformOrigin>) -> Style
Sets transform-origin.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transform_style(self, value: impl Into<TransformStyle>) -> Style
pub fn transform_style(self, value: impl Into<TransformStyle>) -> Style
Sets transform-style.
Sourcepub fn transition(self, value: impl Into<Transition>) -> Style
pub fn transition(self, value: impl Into<Transition>) -> Style
Sets transition.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transition_behavior(self, value: impl Into<TransitionBehavior>) -> Style
pub fn transition_behavior(self, value: impl Into<TransitionBehavior>) -> Style
Sets transition-behavior.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transition_delay(self, value: impl Into<TransitionDelay>) -> Style
pub fn transition_delay(self, value: impl Into<TransitionDelay>) -> Style
Sets transition-delay.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transition_duration(self, value: impl Into<TransitionDuration>) -> Style
pub fn transition_duration(self, value: impl Into<TransitionDuration>) -> Style
Sets transition-duration.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transition_property(self, value: impl Into<TransitionProperty>) -> Style
pub fn transition_property(self, value: impl Into<TransitionProperty>) -> Style
Sets transition-property.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn transition_timing_function(
self,
value: impl Into<TransitionTimingFunction>,
) -> Style
pub fn transition_timing_function( self, value: impl Into<TransitionTimingFunction>, ) -> Style
Sets transition-timing-function.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn trigger_scope(self, value: impl Into<TriggerScope>) -> Style
pub fn trigger_scope(self, value: impl Into<TriggerScope>) -> Style
Sets trigger-scope.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn unicode_bidi(self, value: impl Into<UnicodeBidi>) -> Style
pub fn unicode_bidi(self, value: impl Into<UnicodeBidi>) -> Style
Sets unicode-bidi.
Sourcepub fn user_select(self, value: impl Into<UserSelect>) -> Style
pub fn user_select(self, value: impl Into<UserSelect>) -> Style
Sets user-select.
Sourcepub fn vector_effect(self, value: impl Into<VectorEffect>) -> Style
pub fn vector_effect(self, value: impl Into<VectorEffect>) -> Style
Sets vector-effect.
Sourcepub fn vertical_align(self, value: impl Into<VerticalAlign>) -> Style
pub fn vertical_align(self, value: impl Into<VerticalAlign>) -> Style
Sets vertical-align.
Sourcepub fn view_transition_class(
self,
value: impl Into<ViewTransitionClass>,
) -> Style
pub fn view_transition_class( self, value: impl Into<ViewTransitionClass>, ) -> Style
Sets view-transition-class.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn view_transition_name(self, value: impl Into<ViewTransitionName>) -> Style
pub fn view_transition_name(self, value: impl Into<ViewTransitionName>) -> Style
Sets view-transition-name.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn view_transition_scope(
self,
value: impl Into<ViewTransitionScope>,
) -> Style
pub fn view_transition_scope( self, value: impl Into<ViewTransitionScope>, ) -> Style
Sets view-transition-scope.
Sourcepub fn visibility(self, value: impl Into<Visibility>) -> Style
pub fn visibility(self, value: impl Into<Visibility>) -> Style
Sets visibility.
Sourcepub fn white_space(self, value: impl Into<WhiteSpace>) -> Style
pub fn white_space(self, value: impl Into<WhiteSpace>) -> Style
Sets white-space.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn white_space_collapse(self, value: impl Into<WhiteSpaceCollapse>) -> Style
pub fn white_space_collapse(self, value: impl Into<WhiteSpaceCollapse>) -> Style
Sets white-space-collapse.
Sourcepub fn will_change(self, value: impl Into<WillChange>) -> Style
pub fn will_change(self, value: impl Into<WillChange>) -> Style
Sets will-change.
The single-value forms are typed. Any other value goes through Raw, which is passed to the browser unchecked.
Sourcepub fn window_drag(self, value: impl Into<WindowDrag>) -> Style
pub fn window_drag(self, value: impl Into<WindowDrag>) -> Style
Sets window-drag.
Sourcepub fn word_break(self, value: impl Into<WordBreak>) -> Style
pub fn word_break(self, value: impl Into<WordBreak>) -> Style
Sets word-break.
Sourcepub fn word_spacing(self, value: impl Into<WordSpacing>) -> Style
pub fn word_spacing(self, value: impl Into<WordSpacing>) -> Style
Sets word-spacing.
Sourcepub fn writing_mode(self, value: impl Into<WritingMode>) -> Style
pub fn writing_mode(self, value: impl Into<WritingMode>) -> Style
Sets writing-mode.
Source§impl Style
impl Style
Sourcepub fn keyframes(self, keyframes: &Keyframes) -> Style
pub fn keyframes(self, keyframes: &Keyframes) -> Style
Animates the element with keyframes: sets animation-name to its
name, and carries the @keyframes rule to the page.
Sourcepub fn token<T>(self, token: &Token<T>, value: impl Into<T>) -> Stylewhere
T: TokenValue,
pub fn token<T>(self, token: &Token<T>, value: impl Into<T>) -> Stylewhere
T: TokenValue,
Sets token to value on the element and everything inside it, in
place of the default and the page’s Theme.
Sourcepub fn keyword(self, property: Property, value: CssWideKeyword) -> Style
pub fn keyword(self, property: Property, value: CssWideKeyword) -> Style
Sets property to a keyword every property accepts, such as inherit.
Sourcepub fn merge(self, style: Style) -> Style
pub fn merge(self, style: Style) -> Style
Adds the declarations of style, which win over this style’s own.
Sourcepub fn on(self, condition: impl Into<Condition>, style: Style) -> Style
pub fn on(self, condition: impl Into<Condition>, style: Style) -> Style
Adds the declarations of style, applied only under condition.
Conditions nest: style may use on itself, and its declarations then
apply under both. The stylesheet writes the pseudo-classes of one
declaration in a fixed order, so on(Hover, on(Focus, ..)) and
on(Focus, on(Hover, ..)) produce the same class.
Sourcepub fn pseudo(self, element: PseudoElement, style: Style) -> Style
pub fn pseudo(self, element: PseudoElement, style: Style) -> Style
Adds the declarations of style to the pseudo-element element.
Pseudo-classes in style apply to the element, so
pseudo(Before, Style::new().on(Hover, ..)) is written
:hover::before.
§Panics
Panics if style already places a declaration on a pseudo-element,
because CSS has no pseudo-element of a pseudo-element.
Sourcepub fn group(self) -> Style
pub fn group(self) -> Style
Marks the element as the ancestor that Condition::Group tests,
with the class group. Any marked ancestor that matches counts, as
with the group of Tailwind CSS and Panda CSS.
Sourcepub fn peer(self) -> Style
pub fn peer(self) -> Style
Marks the element as the earlier sibling that Condition::Peer
tests, with the class peer.
Sourcepub fn class_names(&self) -> impl Iterator<Item = String>
pub fn class_names(&self) -> impl Iterator<Item = String>
The class names an element needs for this style.
Sourcepub fn toggled_class_names(&self) -> impl Iterator<Item = String>
pub fn toggled_class_names(&self) -> impl Iterator<Item = String>
The class names for this style when it is switched on and off at run
time. Their rules sit in a later cascade layer than those of
Style::class_names, so while switched on they override the
element’s own declarations for the same property.