/// <summary> /// Returns the CSS standard represenation of the contained string. /// </summary> /// <returns>A string that contains the CSS code to create the value.</returns> public String ToCss() { return(FunctionNames.Build(FunctionNames.Attr, _name)); }
/// <summary> /// Returns the CSS representation of the steps timing function. /// </summary> /// <returns>A string that resembles CSS code.</returns> public override String ToCss() { return(FunctionNames.Build(FunctionNames.Steps, Intervals.ToString(CultureInfo.InvariantCulture), IsStart ? Keywords.Start : Keywords.End)); }
/// <summary> /// Returns the CSS standard represenation of the contained string. /// </summary> /// <returns>A string that contains the CSS code to create the value.</returns> public String ToCss() { return(FunctionNames.Build(FunctionNames.Image, String.Join(", ", _urls.Select(m => ((ICssObject)m).ToCss())))); }